diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-25 18:57:01 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-25 18:57:01 +0200 |
commit | 5ae69c1cfcc05f3dce30a60fcfe38ce6de7a799d (patch) | |
tree | 8c363842c352acb5c606f3f1587cd9b0eebfe633 /repl.c | |
parent | 76df28e492de6b6b11e0777576834a2308fba6c3 (diff) | |
download | ell-5ae69c1cfcc05f3dce30a60fcfe38ce6de7a799d.tar.gz ell-5ae69c1cfcc05f3dce30a60fcfe38ce6de7a799d.tar.xz ell-5ae69c1cfcc05f3dce30a60fcfe38ce6de7a799d.zip |
Finish implementation of printing
Now readds all syntax sugar and quotes strings properly.
Removed automatic line breaking and indenting since it is complicated.
Removed #ifndef since it stopped making any sense.
Diffstat (limited to 'repl.c')
-rw-r--r-- | repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ run (struct context *ctx, struct item *program) { ctx->error = NULL; ctx->memory_failure = false; } else { - print_tree (result, 0); + print_item_list (result); putchar ('\n'); item_free_list (result); } |