compile: makes compile_separate_module public
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 9 Aug 2011 18:14:25 +0000 (14:14 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 9 Feb 2012 21:00:47 +0000 (16:00 -0500)
This allows it to be redefined in other modules. Will be used by
native interface and seperate options later.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/compiling/compiling.nit

index a3a9a62..414c6f6 100644 (file)
@@ -90,7 +90,7 @@ end
 
 redef class MMModule
        # Compile the sep or glob files (of the current module only)
-       private fun compile_separate_module(cprogram: CProgram)
+       fun compile_separate_module(cprogram: CProgram)
        do
                var tc = cprogram.program.tc
                tc.info("Generating C code for module: {full_name}",2)