aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-08-18 18:31:19 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-08-18 18:31:19 -0400
commitb4d095d8616c8a5f2d85f8dc91b8429b0a7108a3 (patch)
tree44a904d2169ac3ce9ccd80a6e66a6cb952609f8d
parentfe712311578b014a9e074f25856520732a1b3da8 (diff)
Add WHILE to tree_print
-rw-r--r--tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tree.c b/tree.c
index de9a0f5..daad71f 100644
--- a/tree.c
+++ b/tree.c
@@ -164,6 +164,9 @@ int spaces;
case IF:
fprintf(stderr, "[IF]");
break;
+ case WHILE:
+ fprintf(stderr, "[WHILE]");
+ break;
case THEN:
fprintf(stderr, "[THEN]");
break;