aboutsummaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-09-02 13:34:06 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-09-03 16:26:04 -0400
commit4fced0fc39d3aeacb3c6d434aeeb622468a857cc (patch)
treec92a2fa59466efd83d58448159c959ae5ae97343 /tree.c
parent389c2765afebb0b6112493e53117405488a4f3f1 (diff)
Add unary minus to parsing
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tree.c b/tree.c
index bb025f5..2afdfa6 100644
--- a/tree.c
+++ b/tree.c
@@ -182,6 +182,9 @@ int spaces;
case DT:
fprintf(stderr, "[DOWN-TO]");
break;
+ case SUB:
+ fprintf(stderr, "[SUB]");
+ break;
default:
fprintf(stderr, "\t%d", t->type);
yyerror("Error in tree_print");