modelbuilder: use phases to build the model
[nit.git] / src / nit.nit
index 981a85c..a658d4d 100644 (file)
@@ -44,7 +44,7 @@ end
 var progname = arguments.first
 
 # Here we load an process all modules passed on the command line
-var mmodules = modelbuilder.parse_and_build([progname])
+var mmodules = modelbuilder.parse([progname])
 modelbuilder.run_phases
 
 if toolcontext.opt_only_metamodel.value then exit(0)