Add a constructor to PSymbolTable that takes a parent table as input

This commit is contained in:
Randy Heit 2013-10-29 21:52:28 -05:00
commit fe21ceec56
3 changed files with 7 additions and 1 deletions

View file

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