Merge zeta.labunix.uqam.ca:prog/nit/zeta-wip into tools
authorJean Privat <jean@pryen.org>
Thu, 5 Jan 2012 01:40:21 +0000 (20:40 -0500)
committerJean Privat <jean@pryen.org>
Thu, 5 Jan 2012 01:40:21 +0000 (20:40 -0500)
1  2 
src/mmloader.nit

diff --combined src/mmloader.nit
@@@ -69,6 -69,7 +69,6 @@@ class Messag
                        while line_end+1 < string.length and string[line_end+1] != '\n' and string[line_end+1] != '\r' do
                                line_end += 1
                        end
 -                      print "{i-1}: {line_start} && {line_end}"
                        var lstart = string.substring(line_start, location.column_start - 1)
                        var cend
                        if i != location.line_end then
@@@ -422,18 -423,3 +422,3 @@@ class ModuleLoade
        # Process a parsed module
        protected fun process_metamodel(context: ToolContext, mod: MODULE) is abstract
  end
- redef class MMModule
-       # Recurcivelty process an import modules
-       fun import_supers_modules(names: Collection[Symbol])
-       do
-               var c = context
-               assert c isa ToolContext
-               var supers = new Array[MMModule]
-               for n in names do
-                       var m = c.get_module(n, self)
-                       supers.add(m)
-               end
-               c.add_module(self,supers)
-       end
- end