mojoshader_parser_hlsl.lemon
changeset 976 72f121a58548
parent 975 95b03c82cf51
child 984 b75637d50945
--- a/mojoshader_parser_hlsl.lemon	Wed Jan 12 03:39:21 2011 -0500
+++ b/mojoshader_parser_hlsl.lemon	Thu Jan 13 02:50:15 2011 -0500
@@ -226,7 +226,7 @@
 
 // This has to be separate from struct_declaration so that the struct is in the usertypemap when parsing its members.
 %type struct_intro { const char * }
-struct_intro(A) ::= STRUCT IDENTIFIER(B). { A = B.string; push_usertype(ctx, A, &ctx->dt_int); }  // datatype is bogus until semantic analysis.
+struct_intro(A) ::= STRUCT IDENTIFIER(B). { A = B.string; push_usertype(ctx, A, &ctx->dt_none); }  // datatype is bogus until semantic analysis.
 
 %type struct_member_list { MOJOSHADER_astStructMembers * }
 %destructor struct_member_list { delete_struct_member(ctx, $$); }