mojoshader_parser_hlsl.lemon
changeset 726 9f58e2b0ed8a
parent 725 5e3c35b63abd
child 730 d4fe68d04624
--- a/mojoshader_parser_hlsl.lemon	Fri Mar 06 23:06:39 2009 -0500
+++ b/mojoshader_parser_hlsl.lemon	Fri Mar 06 23:19:40 2009 -0500
@@ -170,7 +170,10 @@
 struct_member ::= interpolation_mod struct_member_details.
 struct_member ::= struct_member_details.
 
-struct_member_details ::= scalar_or_array identifier SEMICOLON.
+struct_member_details ::= datatype struct_member_item_list SEMICOLON.
+
+struct_member_item_list ::= identifier.
+struct_member_item_list ::= struct_member_item_list COMMA identifier.
 
 typedef_statement ::= TYPEDEF CONST datatype scalar_or_array.
 typedef_statement ::= TYPEDEF datatype scalar_or_array.