mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +00:00
ignore stray begin
This commit is contained in:
parent
dc433a3c09
commit
6e2e4d1adf
@ -357,6 +357,12 @@ namespace Compiler
|
|||||||
getErrorHandler().warning ("stay endif (ignoring it)", loc);
|
getErrorHandler().warning ("stay endif (ignoring it)", loc);
|
||||||
mState = EndState;
|
mState = EndState;
|
||||||
return true;
|
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)
|
else if (mState==SetLocalVarState && keyword==Scanner::K_to)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user