Fixed some error handling for invalid if statements. Started if codegen.
This commit is contained in:
10
test/else_if_after_else.ink
Normal file
10
test/else_if_after_else.ink
Normal file
@@ -0,0 +1,10 @@
|
||||
vertex main :: (pos : float3 @position) -> float4 @position {
|
||||
if 0 > 100 {
|
||||
|
||||
} else {
|
||||
|
||||
} else if 0 > 200 {
|
||||
|
||||
}
|
||||
return float4(0.0);
|
||||
}
|
||||
Reference in New Issue
Block a user