Merge branch 'Sprint3-Symbol_Table_Restructure-FE-t#NoTask' into Dev
This commit is contained in:
@ -4,6 +4,12 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define SIZE_INT 4
|
||||
#define SIZE_ADDR 8
|
||||
#define SIZE_CHAR 1
|
||||
#define SIZE_BOOL 4 //TODO: Ask Carl what this size should be
|
||||
|
||||
|
||||
struct TableNode;
|
||||
|
||||
typedef struct {
|
||||
@ -43,8 +49,10 @@ typedef struct ListOfTable {
|
||||
struct ListOfTable *next;
|
||||
} ListOfTable;
|
||||
|
||||
//Table node to store
|
||||
typedef struct TableNode {
|
||||
struct TableNode *theType;
|
||||
int tag;
|
||||
char *theName;
|
||||
AdInfo *additionalinfo;
|
||||
struct TableNode *next;
|
||||
|
Reference in New Issue
Block a user