1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-24 18:39:59 +00:00

allow the use of the keyword end as a variable name in an expression

This commit is contained in:
Marc Zinnschlag 2014-02-13 14:15:48 +01:00
parent ac8290c4d3
commit 309573a3ac

View File

@ -355,6 +355,11 @@ namespace Compiler
}
}
if (keyword==Scanner::K_end)
{
return parseName (loc.mLiteral, loc, scanner);
}
mFirst = false;
if (!mExplicit.empty())