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.
---
interpreter.c | 5 -----
1 file changed, 5 deletions(-)
(limited to 'interpreter.c')
diff --git a/interpreter.c b/interpreter.c
index 4159e08..3743c4a 100644
--- a/interpreter.c
+++ b/interpreter.c
@@ -38,11 +38,6 @@ main (int argc, char *argv[]) {
parser_init (&parser, buf.s, buf.len - 1);
const char *e = NULL;
struct item *program = parser_run (&parser, &e);
-#ifndef NDEBUG
- printf ("\x1b[1m%s\x1b[0m\n", buf.s);
- print_tree (program, 0);
- printf ("\n\n");
-#endif
free (buf.s);
if (e) {
printf ("%s: %s\n", "parse error", e);
--
cgit v1.2.3