diff --git a/SMILEBASIC/parser.d b/SMILEBASIC/parser.d index bd3e8f9..abd32ac 100644 --- a/SMILEBASIC/parser.d +++ b/SMILEBASIC/parser.d @@ -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: