Fix ELSE parsing

This commit is contained in:
otya128 committed 2016-12-23 20:16:52 +09:00
1 parent 68803f0d36
commit 9df64ca072
1 file changed
+3 -1
+3 -1
View File
@@ -1640,7 +1640,9 @@ class Parser
if(!multiline && lex.front().type == TokenType.NewLine)
{
//3.1現在だとエラー
syntaxError();
//syntaxError();
//3.3.2現在だとエラーじゃない
multiline = true;
}
if(multiline)
{