From 06dc42750d291bb0f0bb0108afee7f2aa85f405b Mon Sep 17 00:00:00 2001 From: otya128 Date: Sun, 18 Dec 2016 21:21:56 +0900 Subject: [PATCH] PRINT? --- SMILEBASIC/parser.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SMILEBASIC/parser.d b/SMILEBASIC/parser.d index 7aa2d98..2c86a56 100644 --- a/SMILEBASIC/parser.d +++ b/SMILEBASIC/parser.d @@ -1665,8 +1665,9 @@ class Parser auto exp = expression(); if(exp is null) { - lex.popFront(); syntaxError(); + lex.popFront(); + token = lex.front(); continue; } print.addArgument(exp);