frontend: repl: remove line continuations from input produced by line-ed
This commit is contained in:
@@ -11,6 +11,8 @@ int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
|
|||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
struct line_ed *ed = line_ed_create();
|
struct line_ed *ed = line_ed_create();
|
||||||
|
line_ed_set_flags(ed, LINE_ED_REMOVE_CONTINUATIONS);
|
||||||
|
|
||||||
struct ivy_lexer *lex;
|
struct ivy_lexer *lex;
|
||||||
enum ivy_status status = ivy_lexer_create(&lex);
|
enum ivy_status status = ivy_lexer_create(&lex);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user