aboutsummaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-08-05 21:31:48 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-08-16 19:10:49 -0400
commit7e29eae526f7a5014934b92a239923dd30835afd (patch)
tree92eb5137963d27b70c7ea82356434110154b2ab0 /node.h
parentee6c598892518d956388bb008095de6d4d7fe123 (diff)
WIP Add function and array info to node struct
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*/