forked from teamnwah/openmw-tes3coop
fixed QuickFileParser handling of begin line (skip it instead of trying to make sense of it)
This commit is contained in:
parent
38a413a483
commit
4b88ef5891
1 changed files with 0 additions and 6 deletions
|
@ -19,12 +19,6 @@ bool Compiler::QuickFileParser::parseName (const std::string& name, const TokenL
|
||||||
|
|
||||||
bool Compiler::QuickFileParser::parseKeyword (int keyword, const TokenLoc& loc, Scanner& scanner)
|
bool Compiler::QuickFileParser::parseKeyword (int keyword, const TokenLoc& loc, Scanner& scanner)
|
||||||
{
|
{
|
||||||
if (keyword==Scanner::K_begin)
|
|
||||||
{
|
|
||||||
scanner.allowNameStartingwithDigit();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (keyword==Scanner::K_end)
|
if (keyword==Scanner::K_end)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue