Permalink
Browse files

Fix Method and Param LAD node construction

  • Loading branch information...
1 parent 78c264a commit ae2b965a3cc50228eb5317eaa1ac53d006e12378 @sorear committed Dec 24, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/CLRBackend.cs
View
@@ -796,8 +796,8 @@ sealed class Tokens {
new Dictionary<string,ConstructorInfo>();
n["CC"] = typeof(LADCC).GetConstructor(new Type[] { CC });
n["Str"] = typeof(LADStr).GetConstructor(new Type[] { String });
- n["Param"] = typeof(LADStr).GetConstructor(new Type[] { String });
- n["Method"] = typeof(LADStr).GetConstructor(new Type[] { String });
+ n["Param"] = typeof(LADParam).GetConstructor(new Type[] { String });
+ n["Method"] = typeof(LADMethod).GetConstructor(new Type[] { String });
n["ProtoRegex"] = typeof(LADStr).GetConstructor(new Type[] { String });
n["StrNoCase"] = typeof(LADStrNoCase).GetConstructor(new Type[] { String });
n["Imp"] = typeof(LADImp).GetConstructor(new Type[] { });

0 comments on commit ae2b965

Please sign in to comment.