Fixed some error handling for invalid if statements. Started if codegen.
This commit is contained in:
4
test/parse/else_if_after_else.golden
Normal file
4
test/parse/else_if_after_else.golden
Normal file
@@ -0,0 +1,4 @@
|
||||
[1;37mtest/else_if_after_else.ink:6,6: [31merror: [37m'else if' without 'if'
|
||||
[96m } else if 0 > 200 {
|
||||
^^^^[97m
|
||||
[36m[37m
|
||||
Reference in New Issue
Block a user