Implemented else blocks
This commit is contained in:
parent
ff86dfe590
commit
e537e543cc
17 changed files with 118 additions and 25 deletions
3
tests/errors/ExpectedIfBeforeElse.q
Normal file
3
tests/errors/ExpectedIfBeforeElse.q
Normal file
|
@ -0,0 +1,3 @@
|
|||
main() {
|
||||
else {}
|
||||
}
|
4
tests/errors/ExpectedIfBeforeElse2.q
Normal file
4
tests/errors/ExpectedIfBeforeElse2.q
Normal file
|
@ -0,0 +1,4 @@
|
|||
main() {
|
||||
loop {}
|
||||
else {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue