Skip to content

Commit

Permalink
Retval is not a reserved keyword, fixes 643345
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldeicaza committed Oct 3, 2010
1 parent a21c08a commit 57dae7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mcs/ilasm/parser/ILParser.jay
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mcs/ilasm/scanner/ILTables.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static Hashtable Keywords
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");
Expand Down

0 comments on commit 57dae7a

Please sign in to comment.