X-Git-Url: http://nitlanguage.org diff --git a/src/modelbuilder.nit b/src/modelbuilder.nit index 1c87722..a55f02e 100644 --- a/src/modelbuilder.nit +++ b/src/modelbuilder.nit @@ -105,6 +105,11 @@ class ModelBuilder self.toolcontext.check_errors + if self.toolcontext.opt_only_parse.value then + self.toolcontext.info("--only-parse: stop processing", 2) + return new Array[MModule] + end + # Build the model self.toolcontext.info("*** BUILD MODEL ***", 1) self.build_all_classes