diff options
author | Miguel de Icaza <miguel@gnome.org> | 2010-10-03 20:30:10 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2010-10-03 20:30:38 +0400 |
commit | 4bf3aa7b3f52c3e7ff63813425c6fe97235e5673 (patch) | |
tree | fab6c58f553a1e55035b74df84bbd7fff52c4086 /mcs/ilasm | |
parent | 5d9ca64ed3d8279434df5c9e0c463d30eee10a15 (diff) |
Retval is not a reserved keyword, fixes 643345
Diffstat (limited to 'mcs/ilasm')
-rw-r--r-- | mcs/ilasm/parser/ILParser.jay | 2 | ||||
-rw-r--r-- | mcs/ilasm/scanner/ILTables.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mcs/ilasm/parser/ILParser.jay b/mcs/ilasm/parser/ILParser.jay index 014ae7a3d1d..523c5ffe1a2 100644 --- a/mcs/ilasm/parser/ILParser.jay +++ b/mcs/ilasm/parser/ILParser.jay @@ -305,7 +305,7 @@ namespace Mono.ILASM { %token K_OUT
%token K_OPT
// %token K_LCID
-%token K_RETVAL
+//%token K_RETVAL
%token K_STATIC
%token K_PUBLIC
%token K_PRIVATE
diff --git a/mcs/ilasm/scanner/ILTables.cs b/mcs/ilasm/scanner/ILTables.cs index 4e7646d020e..42f2d1aa8c7 100644 --- a/mcs/ilasm/scanner/ILTables.cs +++ b/mcs/ilasm/scanner/ILTables.cs @@ -143,7 +143,7 @@ namespace Mono.ILASM { keywords ["opt"] = new ILToken (Token.K_OPT, "opt");
// Not a keyword according to ilasm 1.1
// keywords ["lcid"] = new ILToken (Token.K_LCID, "lcid");
- keywords ["retval"] = new ILToken (Token.K_RETVAL, "retval");
+ //keywords ["retval"] = new ILToken (Token.K_RETVAL, "retval");
keywords ["static"] = new ILToken (Token.K_STATIC, "static");
keywords ["public"] = new ILToken (Token.K_PUBLIC, "public");
keywords ["private"] = new ILToken (Token.K_PRIVATE, "private");
|