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:
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…
x
Reference in New Issue
Block a user