aboutsummaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-09-12 20:00:18 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-09-12 20:00:18 -0400
commit7698efc6e34037c3b6ba2968e77c4e33df4b484e (patch)
treeb4e5e240c15a9942e6aacd0d9757bc7ce5db0729 /node.h
parentbb9070ca0d79d2314c25b83e4496f43488446734 (diff)
parentd8f19b2f532d0a0d7131c1141ca481fa2d08b946 (diff)
Merge branch 'master' into mem-management
Diffstat (limited to 'node.h')
-rw-r--r--node.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/node.h b/node.h
index 90e3936..e59cb86 100644
--- a/node.h
+++ b/node.h
@@ -1,5 +1,15 @@
#ifndef NODE_H
#define NODE_H
+/*function/array info structs*/
+struct fi {
+ int argc;
+ int *argv;
+};
+
+struct ai {
+ int size;
+ int start_idx;
+};
/* Linked list */
@@ -7,6 +17,9 @@ typedef struct node_s {
char *name;
struct node_s *next;
int var_type;
+
+ struct fi* func_info;
+ struct ai* array_info;
} node;
/*constructor*/