mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-06 19:01:21 +03: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
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…
Add table
Add a link
Reference in a new issue