1
0

Fix GOSUB/GOTO EXPR$ parsing

This commit is contained in:
otya128
2016-12-15 17:26:15 +09:00
parent 69b4549fb0
commit 10eb0803fe

View File

@@ -1006,6 +1006,7 @@ class Parser
if(!e)
syntaxError();
node = new Goto(e, lex.location);
return node;
}
break;
case TokenType.Gosub:
@@ -1019,6 +1020,7 @@ class Parser
if(!e)
syntaxError();
node = new Gosub(e, lex.location);
return node;
}
break;
case TokenType.If: