aboutsummaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-10-07 23:59:11 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-10-08 22:33:49 -0400
commite11eda53660f19bcbcede3bb25b09a71363cef21 (patch)
treeef8eb830df6620bbf0a5c29b4ae643ef6d3ed1e1 /node.h
parenteee77999764131bd35ce2c471d32cd0b6e85f598 (diff)
Add scope based stack offsets for variables
Diffstat (limited to 'node.h')
-rw-r--r--node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.h b/node.h
index e59cb86..8bafcc0 100644
--- a/node.h
+++ b/node.h
@@ -17,6 +17,7 @@ typedef struct node_s {
char *name;
struct node_s *next;
int var_type;
+ int offset;
struct fi* func_info;
struct ai* array_info;