Merge branch 'Sprint3-Symbol_Table_Restructure-FE-t#NoTask' into Dev

This commit is contained in:
Moroseui
2025-04-04 21:34:52 -04:00
committed by GitHub
9 changed files with 544 additions and 364 deletions

View File

@ -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;