Fix ELSE parsing
This commit is contained in:
@@ -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