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:
parent
ac8290c4d3
commit
309573a3ac
@ -355,6 +355,11 @@ namespace Compiler
|
||||
}
|
||||
}
|
||||
|
||||
if (keyword==Scanner::K_end)
|
||||
{
|
||||
return parseName (loc.mLiteral, loc, scanner);
|
||||
}
|
||||
|
||||
mFirst = false;
|
||||
|
||||
if (!mExplicit.empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user