mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-12 13:12:14 +00:00
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:
parent
733e5fa2e1
commit
aadd4e4de6
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ struct ZCCParseState
|
||||||
{
|
{
|
||||||
ZCCParseState(FScanner &scanner) : sc(scanner)
|
ZCCParseState(FScanner &scanner) : sc(scanner)
|
||||||
{
|
{
|
||||||
|
TopNode = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
FScanner ≻
|
FScanner ≻
|
||||||
|
|
Loading…
Reference in a new issue