mojoshader_parser_hlsl.lemon
changeset 790 0cf8abbbc9fa
parent 789 10a36d0c418c
child 795 5a6c79a74662
--- a/mojoshader_parser_hlsl.lemon	Tue Aug 25 23:44:04 2009 -0400
+++ b/mojoshader_parser_hlsl.lemon	Tue Aug 25 23:47:11 2009 -0400
@@ -226,7 +226,8 @@
 variable_attribute ::= COLUMNMAJOR.
 
 initializer_block_list ::= expression.
-initializer_block_list ::= initializer_block_list COMMA expression.
+initializer_block_list ::= LBRACE initializer_block_list RBRACE.
+initializer_block_list ::= initializer_block_list COMMA initializer_block_list.
 initializer_block ::= LBRACE initializer_block_list RBRACE.
 
 initializer ::= ASSIGN initializer_block.