Fix ELSE parsing
This commit is contained in:
1 parent
68803f0d36
commit
9df64ca072
1 file changed
+3
-1
+3
-1
@@ -1640,7 +1640,9 @@ class Parser
|
|||||||
if(!multiline && lex.front().type == TokenType.NewLine)
|
if(!multiline && lex.front().type == TokenType.NewLine)
|
||||||
{
|
{
|
||||||
//3.1現在だとエラー
|
//3.1現在だとエラー
|
||||||
syntaxError();
|
//syntaxError();
|
||||||
|
//3.3.2現在だとエラーじゃない
|
||||||
|
multiline = true;
|
||||||
}
|
}
|
||||||
if(multiline)
|
if(multiline)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user