Permalink
Browse files

In ilasm/parser:

	* ILParser.jay (native_type | K_ERROR): Use NativeType.Error for the
	value.
	(native_type | K_LPSTRUCT): Likewise for K_LPSTRUCT.

In class/PEAPI:

	* Metadata.cs (NativeType): Add LPStruct and Error.

svn path=/branches/mono-1-1-13/mcs/; revision=60501
  • Loading branch information...
1 parent 894439a commit 81051c19f216499ed0080b191b25dd831c52fedf @radical radical committed May 10, 2006
Showing with 18 additions and 0 deletions.
  1. +4 −0 mcs/class/PEAPI/ChangeLog
  2. +2 −0 mcs/class/PEAPI/Metadata.cs
  3. +6 −0 mcs/ilasm/parser/ChangeLog
  4. +6 −0 mcs/ilasm/parser/ILParser.jay
@@ -1,3 +1,7 @@
+2006-05-10 Ankit Jain <jankit@novell.com>
+
+ * Metadata.cs (NativeType): Add LPStruct and Error.
+
2006-04-24 Ankit Jain <jankit@novell.com>
* PEAPI.cs (PEFile.WritePEFile): ReserveStrongNameSignatureSpace only if
@@ -4031,6 +4031,8 @@ public class NativeType {
public static readonly NativeType VariantBool = new NativeType(0x25);
public static readonly NativeType FuncPtr = new NativeType(0x26);
public static readonly NativeType AsAny = new NativeType(0x28);
+ public static readonly NativeType LPStruct = new NativeType(0x2b);
+ public static readonly NativeType Error = new NativeType(0x2d);
protected byte typeIndex;
@@ -1,5 +1,11 @@
2006-05-10 Ankit Jain <jankit@novell.com>
+ * ILParser.jay (native_type | K_ERROR): Use NativeType.Error for the
+ value.
+ (native_type | K_LPSTRUCT): Likewise for K_LPSTRUCT.
+
+2006-05-10 Ankit Jain <jankit@novell.com>
+
* ILParser.jay: Add K_PROPERTY.
2006-02-20 Ankit Jain <jankit@novell.com>
@@ -1223,6 +1223,9 @@ native_type : /* EMPTY */
$$ = NativeType.Float64;
}
| K_ERROR
+ {
+ $$ = NativeType.Error;
+ }
| K_UNSIGNED K_INT8
{
$$ = NativeType.UInt8;
@@ -1351,6 +1354,9 @@ native_type : /* EMPTY */
$$ = NativeType.AsAny;
}
| K_LPSTRUCT
+ {
+ $$ = NativeType.LPStruct;
+ }
;
variant_type : /* EMPTY */

0 comments on commit 81051c1

Please sign in to comment.