From 7e29eae526f7a5014934b92a239923dd30835afd Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 5 Aug 2019 21:31:48 -0400 Subject: WIP Add function and array info to node struct --- node.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'node.h') 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*/ -- cgit v1.1