mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-26 11:37:12 +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)
|
else if (keyword==Scanner::K_else)
|
||||||
{
|
{
|
||||||
mState = IfElseEndState;
|
mState = IfElseBodyState; /// \todo should be IfElseEndState; add an option for that
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user