1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-06 10:11:32 +00:00

Allow comma after Begin and End script instruction (Fixes #4451)

This commit is contained in:
Marc Zinnschlag 2018-06-12 15:29:28 +02:00
parent 3af003d36b
commit 816a1733dc

View file

@ -119,6 +119,11 @@ namespace Compiler
return false; return false;
} }
} }
else if (code==Scanner::S_comma && (mState==NameState || mState==EndNameState))
{
// ignoring comma (for now)
return true;
}
return Parser::parseSpecial (code, loc, scanner); return Parser::parseSpecial (code, loc, scanner);
} }