mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 08:37:12 +00:00
Ignore stray references for variables in Set instruction
This commit is contained in:
parent
4fd613fa15
commit
cc855e065a
@ -506,6 +506,13 @@ namespace Compiler
|
|||||||
return true;
|
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)
|
if (code==Scanner::S_ref && mState==PotentialExplicitState)
|
||||||
{
|
{
|
||||||
mState = ExplicitState;
|
mState = ExplicitState;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user