Fix GOSUB/GOTO EXPR$ parsing

This commit is contained in:
otya128 committed 2016-12-15 17:26:15 +09:00
1 parent 69b4549fb0
commit 10eb0803fe
1 file changed
+2
+2
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: