Fixed some error handling and weird consume logic.
This commit is contained in:
6
test/for_no_iter.ink
Normal file
6
test/for_no_iter.ink
Normal file
@@ -0,0 +1,6 @@
|
||||
vertex main :: () {
|
||||
x := 0.0;
|
||||
for i : {
|
||||
x += 2.0;
|
||||
}
|
||||
}
|
||||
5
test/if_no_cond.ink
Normal file
5
test/if_no_cond.ink
Normal file
@@ -0,0 +1,5 @@
|
||||
vertex main :: () {
|
||||
if {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user