1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 07:36:44 +00:00

Ignore stray references for variables in Set instruction

This commit is contained in:
Capostrophic 2019-02-26 16:58:16 +03:00
parent 4fd613fa15
commit cc855e065a

View file

@ -506,6 +506,13 @@ namespace Compiler
return true;
}
if (code==Scanner::S_ref && mState==SetPotentialMemberVarState)
{
getErrorHandler().warning ("Ignoring stray explicit reference", loc);
mState = SetState;
return true;
}
if (code==Scanner::S_ref && mState==PotentialExplicitState)
{
mState = ExplicitState;