From 5ae69c1cfcc05f3dce30a60fcfe38ce6de7a799d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Thu, 25 May 2017 18:57:01 +0200 Subject: 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. --- repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repl.c') 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); } -- cgit v1.2.3