ZCCParseNode needs to initialize TopNode

- If the parsing is a complete failure, then TopNode won't ever be set to
  anything during the parsing process.
This commit is contained in:
Randy Heit 2013-07-23 18:38:57 -05:00
parent 733e5fa2e1
commit aadd4e4de6
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ struct ZCCParseState
{ {
ZCCParseState(FScanner &scanner) : sc(scanner) ZCCParseState(FScanner &scanner) : sc(scanner)
{ {
TopNode = NULL;
} }
FScanner ≻ FScanner ≻