Skip to content

Commit

Permalink
- fixed crash when parsing malformed .def file
Browse files Browse the repository at this point in the history
This fixes #439
  • Loading branch information
alexey-lysiuk authored and mjr4077au committed Jul 17, 2021
1 parent 3748f60 commit f3be0fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/core/defparser.cpp
Expand Up @@ -2094,6 +2094,7 @@ static const dispatch basetokens[] =
{ "shadefactor", parseSkip<1> },
{ "newgamechoices", parseEmptyBlock },
{ "rffdefineid", parseRffDefineId },
{ nullptr, nullptr },
};

static void defsparser(FScanner& sc)
Expand Down

0 comments on commit f3be0fb

Please sign in to comment.