loader: add result of `load_rt_module` in the list of parsed modules
authorJean Privat <jean@pryen.org>
Tue, 20 Oct 2015 20:38:07 +0000 (16:38 -0400)
committerJean Privat <jean@pryen.org>
Tue, 20 Oct 2015 20:38:07 +0000 (16:38 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/loader.nit

index 09201b0..21b7a14 100644 (file)
@@ -652,6 +652,7 @@ redef class ModelBuilder
                var mmodule = new MModule(model, mgroup, mod_name, nmodule.location)
                nmodule.mmodule = mmodule
                nmodules.add(nmodule)
+               parsed_modules.add mmodule
                self.mmodule2nmodule[mmodule] = nmodule
 
                if parent!= null then