mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
ignore stray begin
This commit is contained in:
parent
dc433a3c09
commit
6e2e4d1adf
1 changed files with 6 additions and 0 deletions
|
@ -357,6 +357,12 @@ namespace Compiler
|
|||
getErrorHandler().warning ("stay endif (ignoring it)", loc);
|
||||
mState = EndState;
|
||||
return true;
|
||||
|
||||
case Scanner::K_begin:
|
||||
|
||||
getErrorHandler().warning ("stay begin (ignoring it)", loc);
|
||||
mState = EndState;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (mState==SetLocalVarState && keyword==Scanner::K_to)
|
||||
|
|
Loading…
Reference in a new issue