mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 16:09:39 +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
1 changed files with 5 additions and 0 deletions
|
@ -355,6 +355,11 @@ namespace Compiler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (keyword==Scanner::K_end)
|
||||||
|
{
|
||||||
|
return parseName (loc.mLiteral, loc, scanner);
|
||||||
|
}
|
||||||
|
|
||||||
mFirst = false;
|
mFirst = false;
|
||||||
|
|
||||||
if (!mExplicit.empty())
|
if (!mExplicit.empty())
|
||||||
|
|
Loading…
Reference in a new issue