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:
parent
4fd613fa15
commit
cc855e065a
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue