1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-25 07:44:08 +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;