* ILParser.jay (custom_type): Allow any method name.
[mono.git] / mcs / ilasm / Main.cs
index 097d0a929da272bde61a5965f9be7dd1cefec790..a7fe5edb1337c64ce5782ebf9a76de01863a0d89 100644 (file)
@@ -18,7 +18,7 @@ public class ILAsmTest {
                StreamReader reader = File.OpenText (args [0]);\r
                ILTokenizer scanner = new ILTokenizer (reader);\r
 \r
-               bool testScanner = !true;\r
+               bool testScanner = true;\r
 \r
                if (testScanner) {\r
                        ILToken tok;\r
@@ -26,7 +26,7 @@ public class ILAsmTest {
                                Console.WriteLine (tok);\r
                        }\r
                } else {\r
-                       ILParser parser = new ILParser ();\r
+                       ILParser parser = new ILParser (new CodeGen ());\r
                        parser.yyparse (new ScannerAdapter (scanner), new yydebug.yyDebugSimple ());\r
 \r
                        CodeGen cg = parser.CodeGen;\r