From: Jean Privat Date: Thu, 5 Jan 2012 01:40:21 +0000 (-0500) Subject: Merge zeta.labunix.uqam.ca:prog/nit/zeta-wip into tools X-Git-Tag: v0.5~35^2 X-Git-Url: http://nitlanguage.org?hp=-c Merge zeta.labunix.uqam.ca:prog/nit/zeta-wip into tools --- c1d2deb08ddfab77b844bf98622318aff292d360 diff --combined src/mmloader.nit index c20657a,919099f..9d28ff2 --- a/src/mmloader.nit +++ b/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