added the prototypes for lookups to the h file t#29
This commit is contained in:
@ -27,3 +27,5 @@ typedef struct SymbolTable{
|
|||||||
|
|
||||||
TableNode* CreateEntry(SymbolTable* table, char* typeOf, char* id);
|
TableNode* CreateEntry(SymbolTable* table, char* typeOf, char* id);
|
||||||
SymbolTable* CreateScope(SymbolTable* ParentScope, int Line, int Column);
|
SymbolTable* CreateScope(SymbolTable* ParentScope, int Line, int Column);
|
||||||
|
TableNode * table_lookup(SymbolTable * table, char * x);
|
||||||
|
TableNode * look_up(SymbolTable * table, char * x);
|
||||||
|
Reference in New Issue
Block a user