wrote up symbol table structure. Have to correct code and then add type checking grammar rules
This commit is contained in:
@ -15,6 +15,8 @@ typedef struct{
|
||||
typedef struct{
|
||||
int numofdimensions;
|
||||
//the above value tells you how long the below array is. For example if num of dimensions is 5, I can store 1,3,2,5,9 to define > int* arr;
|
||||
int* sizesofdimensions;
|
||||
TableNode* typeofarray;
|
||||
}array_info;
|
||||
|
||||
typedef struct{
|
||||
|
Reference in New Issue
Block a user