[svn] r5892: nemerle/trunk/ncc/CompilationOptions.n

nazgul svnadmin at nemerle.org
Fri Nov 4 22:02:11 CET 2005


Log:
Enable new matching by default

Author: nazgul
Date: Fri Nov  4 22:02:08 2005
New Revision: 5892

Modified:
   nemerle/trunk/ncc/CompilationOptions.n

Modified: nemerle/trunk/ncc/CompilationOptions.n
==============================================================================
--- nemerle/trunk/ncc/CompilationOptions.n	(original)
+++ nemerle/trunk/ncc/CompilationOptions.n	Fri Nov  4 22:02:08 2005
@@ -102,7 +102,7 @@
       DumpNamedMethod = "";
       AdditionalDebug = false;
       PersistentLibraries = false;
-      NewMatchingCompiler = false;
+      NewMatchingCompiler = true;
       BuildDecisionDAG = true;
       DumpDecisionTree = false;
       IndentationSyntax = false;
@@ -433,10 +433,10 @@
                      help = "Enable general tail call optimization (programs are slower on MS.NET, but faster on Mono)",
                      handler = fun () { Options.GeneralTailCallOpt = true }),
 
-        Getopt.CliOption.Flag (name = "-new-matching",
+        Getopt.CliOption.Boolean (name = "-new-matching",
                      aliases = [],
                      help = "NOHELP",
-                     handler = fun () { Options.NewMatchingCompiler = true }),
+                     handler = fun (val) { Options.NewMatchingCompiler = val }),
 
         Getopt.CliOption.Flag (name = "-disable-decision-dag-opt",
                      aliases = ["-no-dag"],



More information about the svn mailing list