+2003-09-12 Jackson Harper <jackson@latitudegeo.com>
+
+ * ILParser.jay: Fix typo in field inits. Methods attached to
+ modified types should be type spec method refs.
+
2003-08-19 Jackson Harper <jackson@latitudegeo.com>
* ILParser.jay: Implement address constants and string
}\r
| K_INT32 OPEN_PARENS int64 CLOSE_PARENS\r
{\r
- $$ = new IntConst (Convert.ToUInt32 ($3));\r
+ $$ = new IntConst (Convert.ToInt32 ($3));\r
}\r
| K_INT16 OPEN_PARENS int64 CLOSE_PARENS\r
{\r
- $$ = new IntConst (Convert.ToUInt16 ($3));\r
+ $$ = new IntConst (Convert.ToInt16 ($3));\r
}\r
| K_CHAR OPEN_PARENS int64 CLOSE_PARENS\r
{\r
else\r
param_list = new ITypeRef[0];\r
\r
- $$ = owner.GetMethodRef ((ITypeRef) $2,\r
- (CallConv) $1, (string) $5, param_list);\r
+ if (owner.UseTypeSpec) {\r
+ $$ = new TypeSpecMethodRef (owner, (ITypeRef) $2,\r
+ (CallConv) $1, (string) $5, param_list);\r
+ } else {\r
+ $$ = owner.GetMethodRef ((ITypeRef) $2,\r
+ (CallConv) $1, (string) $5, param_list);\r
+ }\r
}\r
| call_conv type method_name \r
OPEN_PARENS type_list CLOSE_PARENS\r