aboutsummaryrefslogtreecommitdiff
path: root/repl.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-05-25 18:57:01 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-05-25 18:57:01 +0200
commit5ae69c1cfcc05f3dce30a60fcfe38ce6de7a799d (patch)
tree8c363842c352acb5c606f3f1587cd9b0eebfe633 /repl.c
parent76df28e492de6b6b11e0777576834a2308fba6c3 (diff)
downloadell-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/repl.c b/repl.c
index f14e24f..d374d13 100644
--- a/repl.c
+++ b/repl.c
@@ -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);
}