aboutsummaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-07-23 21:59:38 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-07-23 21:59:38 -0400
commit596bc33348e2daa5af8a0168f015e850aeccf0fc (patch)
tree498d02eb211e88a43d1e9ceff08d8e56ef94a5b4 /tree.h
parentd8ef3bcc3d410142e359771bbef0ce0bbdc78308 (diff)
Fix node_t is now node
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tree.h b/tree.h
index b7349af..b17c276 100644
--- a/tree.h
+++ b/tree.h
@@ -7,6 +7,7 @@ typedef struct parse_tree {
int ival; /* NUM */
float rval; /* RNUM */
char *sval; /* ID */
+ node *nval;
int opval; /* RELOP: LT LE GT GE EQ NE
ADDOP: PLUS MINUS OR
MULOP: MUL DIV