forked from teamnwah/openmw-tes3coop
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;
|
||||
|
||||
if (!mExplicit.empty())
|
||||
|
|
Loading…
Reference in a new issue