nitg: --separate is now the default option
authorJean Privat <jean@pryen.org>
Fri, 19 Jul 2013 15:00:44 +0000 (11:00 -0400)
committerJean Privat <jean@pryen.org>
Fri, 19 Jul 2013 15:00:44 +0000 (11:00 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/nitg.nit

index 7b442a0..4ebec61 100644 (file)
@@ -65,8 +65,8 @@ var analysis = modelbuilder.do_rapid_type_analysis(mainmodule)
 
 if toolcontext.opt_erasure.value then
        modelbuilder.run_separate_erasure_compiler(mainmodule, analysis)
-else if toolcontext.opt_separate.value then
-       modelbuilder.run_separate_compiler(mainmodule, analysis)
-else
+else if opt_global.value then
        modelbuilder.run_global_compiler(mainmodule, analysis)
+else
+       modelbuilder.run_separate_compiler(mainmodule, analysis)
 end