mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 08:37:12 +00:00
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
@ -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…
x
Reference in New Issue
Block a user