mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 11:39:44 +00:00
allow lines to continue with other instructions after an legit else
This commit is contained in:
parent
749136bf33
commit
2eeb0eb4f3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue