nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bench'
[nit.git]
/
src
/
nitg.nit
diff --git
a/src/nitg.nit
b/src/nitg.nit
index
4ebec61
..
58bf0f1
100644
(file)
--- 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])
# 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 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
# Here we launch the interpreter on the main module
assert mmodules.length == 1
var mainmodule = mmodules.first