* ILParser.jay: Add custom attributes to assemblyrefs.
authorJackson Harper <jackson@novell.com>
Thu, 8 Jul 2004 16:38:56 +0000 (16:38 -0000)
committerJackson Harper <jackson@novell.com>
Thu, 8 Jul 2004 16:38:56 +0000 (16:38 -0000)
svn path=/trunk/mcs/; revision=30883

mcs/ilasm/parser/ChangeLog
mcs/ilasm/parser/ILParser.jay

index 3544e55b8adb072725e0fae44efe73e0de60e622..00eed3b9b5fa194e8ddf6a663d0b47150951903a 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-08  Jackson Harper  <jackson@ximian.com>
+
+       * ILParser.jay: Add custom attributes to assemblyrefs.
+       
 2004-06-26  Jackson Harper  <jackson@ximian.com>
 
        * ILParser.jay: vtable fixups use the int32 or int64 keyword, not
index 7a37b844af19579f27c34a848d5dc17607b1930d..7e52165ada72b79c08dac15300b4c185380ac957 100644 (file)
@@ -2516,6 +2516,9 @@ assemblyref_decl  : D_VER int32 COLON int32 COLON int32 COLON int32
                                 codegen.CurrentAssemblyRef.SetHash ((byte []) $3);\r
                           }\r
                         | customattr_decl\r
+                          {\r
+                                codegen.CurrentAssemblyRef.AddCustomAttribute ((CustomAttr) $1);\r
+                          }\r
                        ;\r
 \r
 exptype_all            : exptype_head OPEN_BRACE exptype_decls CLOSE_BRACE\r