1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-24 22:43:47 +00:00

fixed QuickFileParser handling of begin line (skip it instead of trying to make sense of it)

This commit is contained in:
Marc Zinnschlag 2015-01-08 13:59:03 +01:00
parent 38a413a483
commit 4b88ef5891

View File

@ -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)
{
if (keyword==Scanner::K_begin)
{
scanner.allowNameStartingwithDigit();
return true;
}
if (keyword==Scanner::K_end)
return false;