mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03: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…
Add table
Add a link
Reference in a new issue