X-Git-Url: http://nitlanguage.org?ds=sidebyside diff --git a/src/nitg.nit b/src/nitg.nit index 4ebec61..58bf0f1 100644 --- a/src/nitg.nit +++ b/src/nitg.nit @@ -53,11 +53,10 @@ var progname = arguments.first # Here we load an process all modules passed on the command line var mmodules = modelbuilder.parse([progname]) + if mmodules.is_empty then return modelbuilder.run_phases -if toolcontext.opt_only_metamodel.value then exit(0) - # Here we launch the interpreter on the main module assert mmodules.length == 1 var mainmodule = mmodules.first