Ignore stray references for variables in Set instruction

pull/2189/head
Capostrophic 6 years ago
parent 4fd613fa15
commit cc855e065a

@ -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;

Loading…
Cancel
Save