mirror of
https://github.com/MorizzG/MLox.git
synced 2026-02-04 04:54:48 +00:00
activated tests for while loop
This commit is contained in:
parent
461225977f
commit
f30b0444e4
1 changed files with 11 additions and 2 deletions
|
|
@ -1306,9 +1306,18 @@ $ mlox while/return_inside.lox
|
||||||
|
|
||||||
file while/syntax.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
|
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]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue