doc: use 'module' instead of 'package' in comments
[nit.git] / src / mmloader.nit
index 04c3a98..c63455f 100644 (file)
@@ -16,7 +16,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# This package is used to load a metamodel 
+# This module is used to load a metamodel
 package mmloader
 
 import metamodel
@@ -38,10 +38,11 @@ special Comparable
        end
 
        redef fun to_s: String do
-               if location == null then
+               var l = location
+               if l == null then
                        return text
                else
-                       return "{location}: {text}"
+                       return "{l}: {text}"
                end
        end
 end
@@ -363,7 +364,7 @@ class ModuleLoader
        protected fun parse_file(context: ToolContext, file: IFStream, filename: String, module_name: Symbol, dir: MMDirectory): MODULE is abstract
 
        # Process a parsed module
-       protected fun process_metamodel(context: ToolContext, module: MODULE) is abstract
+       protected fun process_metamodel(context: ToolContext, mod: MODULE) is abstract
 end
 
 redef class MMModule