mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-22 07:21:26 +00:00
allow lines to continue with other instructions after an legit else
This commit is contained in:
parent
749136bf33
commit
2eeb0eb4f3
@ -72,7 +72,7 @@ namespace Compiler
|
||||
}
|
||||
else if (keyword==Scanner::K_else)
|
||||
{
|
||||
mState = IfElseEndState;
|
||||
mState = IfElseBodyState; /// \todo should be IfElseEndState; add an option for that
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user