compile: move 'global' option to program instead of compiling_base
authorJean-Sebastien Gelinas <calestar@gmail.com>
Thu, 27 Aug 2009 21:07:38 +0000 (17:07 -0400)
committerJean Privat <jean@pryen.org>
Tue, 1 Sep 2009 18:15:24 +0000 (14:15 -0400)
Signed-off-by: Jean-Sebastien Gelinas <calestar@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>

src/compiling/compiling_base.nit
src/program.nit

index f873be4..14798ad 100644 (file)
@@ -23,7 +23,6 @@ import primitive_info
 import program
 
 redef class ToolContext
-       readable writable var _global: Bool = false
        readable writable var _compdir: nullable String = null
        readable writable var _clibdir: nullable String = null
        readable writable var _bindir: nullable String = null
index 05214aa..98bfb44 100644 (file)
@@ -22,6 +22,10 @@ import icode
 import primitive_info
 import mmloader
 
+redef class ToolContext
+       readable writable var _global: Bool = false
+end
+
 # Instances of this class represent a program/library that will
 # be analyzed/compiled by nitc
 class Program