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())