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=de8567c0b9320e4799c0d04f0ae5a2d5bfa2a5c1 Merge zeta.labunix.uqam.ca:prog/nit/zeta-wip into tools --- diff --git a/Makefile b/Makefile index fa95668..d96989b 100644 --- a/Makefile +++ b/Makefile @@ -23,14 +23,14 @@ bin/nitc: c_src/nitc src/parser/parser.nit @echo '* Compile nitc from NIT source files *' @echo '***************************************************************' src/git-gen-version.sh - c_src/nitc ${NITCOPT} --clibdir c_src/clib -o bin/nitc -O -v src/nitc.nit + cd src; ../c_src/nitc ${NITCOPT} --clibdir ../c_src/clib -o ../bin/nitc -O -v nitc.nit bin/nitdoc: bin/nitc @echo '***************************************************************' @echo '* Compile nitdoc from NIT source files *' @echo '***************************************************************' src/git-gen-version.sh - bin/nitc ${NITCOPT} -o bin/nitdoc -O -v src/nitdoc.nit + cd src; ../bin/nitc ${NITCOPT} -o ../bin/nitdoc -O -v nitdoc.nit doc/stdlib/index.html: bin/nitdoc @echo '***************************************************************' diff --git a/lib/opts.nit b/lib/opts.nit index 59391cd..1d085b8 100644 --- a/lib/opts.nit +++ b/lib/opts.nit @@ -11,6 +11,9 @@ # You are allowed to redistribute it and sell it, alone or is a part of # another product. +# Manage options on the command line +module opts + # Super class of all option's class class Option # Names for the option (including long and short ones) diff --git a/lib/standard/environ.nit b/lib/standard/environ.nit index 80afabe..9c584de 100644 --- a/lib/standard/environ.nit +++ b/lib/standard/environ.nit @@ -11,6 +11,7 @@ # You are allowed to redistribute it and sell it, alone or is a part of # another product. +# Acces of the environement variables of the process import symbol # TODO prevoir une structure pour recup tout un environ, le modifier et le passer a process diff --git a/lib/standard/time.nit b/lib/standard/time.nit index a1f3424..195157f 100644 --- a/lib/standard/time.nit +++ b/lib/standard/time.nit @@ -10,6 +10,7 @@ # You are allowed to redistribute it and sell it, alone or is a part of # another product. +# Manage time and dates package time import kernel diff --git a/src/icode/icode.nit b/src/icode/icode.nit index ec6ddbf..0c6fcce 100644 --- a/src/icode/icode.nit +++ b/src/icode/icode.nit @@ -15,6 +15,7 @@ # limitations under the License. # Nit intermediate code representation +module icode import icode_base import icode_tools import icode_builder diff --git a/src/icode/icode_tools.nit b/src/icode/icode_tools.nit index cfe1992..1071959 100644 --- a/src/icode/icode_tools.nit +++ b/src/icode/icode_tools.nit @@ -15,6 +15,7 @@ # limitations under the License. # Tools to manipulate intermediace nit code representation +module icode_tools import icode_builder # A simple visitor to visit icode structures diff --git a/src/mmloader.nit b/src/mmloader.nit index 919099f..9d28ff2 100644 --- a/src/mmloader.nit +++ b/src/mmloader.nit @@ -69,7 +69,6 @@ class Message 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