I added some changes to make offsets work
This commit is contained in:
@ -161,6 +161,8 @@ ListOfTable *getRestOfChildren(ListOfTable *lt);
|
||||
TableNode *getFirstEntry(SymbolTable *st);
|
||||
TableNode *getNextEntry(TableNode *tn);
|
||||
TableNode *printTableNode(TableNode *tn);
|
||||
int getElementOffset(TableNode *rec, char* id);
|
||||
int getRecPosition(TableNode* rec, char* id);
|
||||
|
||||
extern int yylex(void);
|
||||
extern char *yytext;
|
||||
@ -199,4 +201,4 @@ extern char *COLOR_YELLOW;
|
||||
extern char *COLOR_LIGHTBLUE;
|
||||
extern char *COLOR_LIGHTPURPLE;
|
||||
extern char *COLOR_LIGHTCYAN;
|
||||
extern char *COLOR_WHITE;
|
||||
extern char *COLOR_WHITE;
|
||||
|
Reference in New Issue
Block a user