* ILParser.jay: Set size and packing information for types
authorJackson Harper <jackson@novell.com>
Sun, 11 May 2003 16:09:38 +0000 (16:09 -0000)
committerJackson Harper <jackson@novell.com>
Sun, 11 May 2003 16:09:38 +0000 (16:09 -0000)
svn path=/trunk/mcs/; revision=14489

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

index 30cbde6ad978d1af520d2fde882077dda2f7ad59..82a354ec4095ad96117d8bfce3334eab1f80746c 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-11 Jackson Harper <jackson@latitudegeo.com>
+
+       * ILParser.jay: Set size and packing information for types
+               
 2003-05-10 Jackson Harper <jackson@latitudegeo.com>
 
        * ILParser.jay: Add field instructions
index cfb45f5a662d29e92440640855ebb69df1062cea..28f06c9a581f483eec25eefb6722b69654e29646 100644 (file)
@@ -577,9 +577,12 @@ class_decl         : method_all
                        | customattr_decl\r
                        | D_SIZE int32\r
                           {\r
-                                \r
+                                codegen.CurrentTypeDef.SetSize ((int) $2);\r
                           }\r
                        | D_PACK int32\r
+                          {\r
+                                codegen.CurrentTypeDef.SetPack ((int) $2);\r
+                          }\r
                        | D_OVERRIDE type_spec DOUBLE_COLON method_name\r
                          K_WITH call_conv type type_spec DOUBLE_COLON method_name\r
                          OPEN_PARENS sig_args CLOSE_PARENS\r