Ifdefs, moved semantic to check, fixed error reporting for builtins
This commit is contained in:
8
test/parse/if_def_block.golden
Normal file
8
test/parse/if_def_block.golden
Normal file
@@ -0,0 +1,8 @@
|
||||
(program
|
||||
(fun pixel ps_main
|
||||
[]
|
||||
(#if Env.Alpha
|
||||
(:= alpha_color (float4 1 0 0 1))
|
||||
(:= f 2)
|
||||
(:= color (float3 0 0 0))
|
||||
(:= g 5))))
|
||||
Reference in New Issue
Block a user