From f30b0444e49d9c008a2bf3111d9b96c378d18407 Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Tue, 27 Aug 2024 18:42:08 +0200 Subject: [PATCH] activated tests for while loop --- lox.t/run.t | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lox.t/run.t b/lox.t/run.t index 51ef732..0e3cc26 100644 --- a/lox.t/run.t +++ b/lox.t/run.t @@ -1305,10 +1305,19 @@ $ mlox while/return_inside.lox file while/syntax.lox -$ mlox while/syntax.lox + $ mlox while/syntax.lox + 1 + 2 + 3 + 0 + 1 + 2 file while/var_in_body.lox -$ mlox while/var_in_body.lox + $ mlox while/var_in_body.lox + found 1 ParserError: + ParserError at line 2, column 13: Expected valid expression, got Var instead + [1]