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]