Fixed some error handling for invalid if statements. Started if codegen.
This commit is contained in:
4
test/parse/if_if_if.golden
Normal file
4
test/parse/if_if_if.golden
Normal file
@@ -0,0 +1,4 @@
|
||||
[1;37mtest/if_if_if.ink:2,3: [31merror: [37mExpected expression after 'if'.
|
||||
[96mif if if 0 > 100 {
|
||||
^^
|
||||
[36m[37m
|
||||
Reference in New Issue
Block a user