Add a constructor to PSymbolTable that takes a parent table as input
This commit is contained in:
parent
e696fff0be
commit
fe21ceec56
3 changed files with 7 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ static void DoParse(const char *filename)
|
|||
ZCCParse(parser, 0, value, &state);
|
||||
ZCCParseFree(parser, free);
|
||||
|
||||
PSymbolTable symbols;
|
||||
PSymbolTable symbols(&GlobalSymbols);
|
||||
ZCCCompiler cc(state, NULL, symbols);
|
||||
cc.Compile();
|
||||
#ifdef _DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue