mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:45:33 +00:00
Ignore stray explicit references for names in expressions
This commit is contained in:
parent
cc855e065a
commit
9bc360267b
1 changed files with 11 additions and 3 deletions
|
@ -276,12 +276,20 @@ namespace Compiler
|
|||
Scanner& scanner)
|
||||
{
|
||||
if (!mExplicit.empty())
|
||||
{
|
||||
if (!mRefOp)
|
||||
{
|
||||
if (mMemberOp && handleMemberAccess (name))
|
||||
return true;
|
||||
|
||||
return Parser::parseName (name, loc, scanner);
|
||||
}
|
||||
else
|
||||
{
|
||||
mExplicit.clear();
|
||||
getErrorHandler().warning ("Ignoring stray explicit reference", loc);
|
||||
}
|
||||
}
|
||||
|
||||
mFirst = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue