Add a first comment line for files generated by nitc.
authorJean Privat <jean@pryen.org>
Wed, 10 Sep 2008 21:24:40 +0000 (17:24 -0400)
committerJean Privat <jean@pryen.org>
Wed, 10 Sep 2008 21:24:40 +0000 (17:24 -0400)
93 files changed:
c_src/abstract_collection._sep.c
c_src/abstract_collection._sep.h
c_src/abstractmetamodel._sep.c
c_src/abstractmetamodel._sep.h
c_src/abstracttool._sep.c
c_src/abstracttool._sep.h
c_src/array._sep.c
c_src/array._sep.h
c_src/compiling._sep.c
c_src/compiling._sep.h
c_src/compiling_base._sep.c
c_src/compiling_base._sep.h
c_src/compiling_global._sep.c
c_src/compiling_global._sep.h
c_src/compiling_methods._sep.c
c_src/compiling_methods._sep.h
c_src/control_flow._sep.c
c_src/control_flow._sep.h
c_src/environ._sep.c
c_src/environ._sep.h
c_src/exec._sep.c
c_src/exec._sep.h
c_src/file._sep.c
c_src/file._sep.h
c_src/genericity._sep.c
c_src/genericity._sep.h
c_src/hash._sep.c
c_src/hash._sep.h
c_src/inheritance._sep.c
c_src/inheritance._sep.h
c_src/kernel._sep.c
c_src/kernel._sep.h
c_src/lexer._sep.c
c_src/lexer._sep.h
c_src/list._sep.c
c_src/list._sep.h
c_src/math._sep.c
c_src/math._sep.h
c_src/metamodel._sep.c
c_src/metamodel._sep.h
c_src/mmbuilder._sep.c
c_src/mmbuilder._sep.h
c_src/mmloader._sep.c
c_src/mmloader._sep.h
c_src/nitc._build.sh
c_src/nitc._sep.c
c_src/nitc._sep.h
c_src/nitc._tables.c
c_src/opts._sep.c
c_src/opts._sep.h
c_src/parser._sep.c
c_src/parser._sep.h
c_src/parser_nodes._sep.c
c_src/parser_nodes._sep.h
c_src/parser_prod._sep.c
c_src/parser_prod._sep.h
c_src/parser_tables._sep.c
c_src/parser_tables._sep.h
c_src/partial_order._sep.c
c_src/partial_order._sep.h
c_src/range._sep.c
c_src/range._sep.h
c_src/sorter._sep.c
c_src/sorter._sep.h
c_src/standard._sep.c
c_src/standard._sep.h
c_src/static_type._sep.c
c_src/static_type._sep.h
c_src/stream._sep.c
c_src/stream._sep.h
c_src/string._sep.c
c_src/string._sep.h
c_src/string_search._sep.c
c_src/string_search._sep.h
c_src/symbol._sep.c
c_src/symbol._sep.h
c_src/syntax._sep.c
c_src/syntax._sep.h
c_src/syntax_base._sep.c
c_src/syntax_base._sep.h
c_src/time._sep.c
c_src/time._sep.h
c_src/type_formal._sep.c
c_src/type_formal._sep.h
c_src/typing._sep.c
c_src/typing._sep.h
c_src/utils._sep.c
c_src/utils._sep.h
c_src/vararg._sep.c
c_src/vararg._sep.h
c_src/virtualtype._sep.c
c_src/virtualtype._sep.h
src/compiling/compiling.nit

index 4ee19e0..957417a 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module abstract_collection. */
 #include "abstract_collection._sep.h"
 val_t abstract_collection___Collection___iterator(val_t  self) {
   struct trace_t trace = {NULL, "abstract_collection::Collection::iterator (bin/../lib/standard//abstract_collection.nit:42,2--43:26)"};
index 491d28d..d3b8f64 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires abstract_collection. */
 #ifndef abstract_collection__sep
 #define abstract_collection__sep
 #include "kernel._sep.h"
index 3f656b5..f0c4e0e 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module abstractmetamodel. */
 #include "abstractmetamodel._sep.h"
 void abstractmetamodel___MMContext___init(val_t  self, int* init_table) {
   struct trace_t trace = {NULL, "abstractmetamodel::MMContext::init (src/metamodel//abstractmetamodel.nit:26,2--5)"};
index 6749f84..18ede8a 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires abstractmetamodel. */
 #ifndef abstractmetamodel__sep
 #define abstractmetamodel__sep
 #include "partial_order._sep.h"
index cf4916d..22b1178 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module abstracttool. */
 #include "abstracttool._sep.h"
 void abstracttool___AbstractCompiler___init(val_t  self, int* init_table) {
   struct trace_t trace = {NULL, "abstracttool::AbstractCompiler::init (src/abstracttool.nit:28,2--31:37)"};
index def3089..4202172 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires abstracttool. */
 #ifndef abstracttool__sep
 #define abstracttool__sep
 #include "syntax._sep.h"
index fd63e49..4798e95 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module array. */
 #include "array._sep.h"
 void array___AbstractArray___enlarge(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "array::AbstractArray::enlarge (bin/../lib/standard//array.nit:23,2--22)"};
index 51acd37..8940044 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires array. */
 #ifndef array__sep
 #define array__sep
 #include "abstract_collection._sep.h"
index 61437ce..6fa0d17 100644 (file)
@@ -1,6 +1,7 @@
+/* This C file is generated by NIT to compile module compiling. */
 #include "compiling._sep.h"
 void compiling___MMSrcModule___compile_prog_to_c(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, "compiling::MMSrcModule::compile_prog_to_c (src/compiling//compiling.nit:26,2--75:23)"};
+  struct trace_t trace = {NULL, "compiling::MMSrcModule::compile_prog_to_c (src/compiling//compiling.nit:26,2--76:23)"};
   val_t variable0;
   val_t variable1;
     val_t variable2;
@@ -166,6 +167,18 @@ void compiling___MMSrcModule___compile_prog_to_c(val_t  self, val_t  param0) {
   variable6 = NEW_string___String___with_native(BOX_NativeString("#!/bin/sh\n"), TAG_Int(10)); /*new String*/
   ((file___OFStream___write_t)CALL( variable5 /*f*/,COLOR_stream___OStream___write))( variable5 /*f*/, variable6) /*OFStream::write*/;
   variable6 = NEW_string___String___init(); /*new String*/
+  variable7 = NEW_string___String___with_native(BOX_NativeString("# This shell script is generated by NIT to compile the program "), TAG_Int(63)); /*new String*/
+  variable8 = variable7;
+  ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable8) /*String::append*/;
+  variable9 = ((abstractmetamodel___MMModule___name_t)CALL( self,COLOR_abstractmetamodel___MMModule___name))( self) /*MMSrcModule::name*/;
+  variable10 = variable9;
+  variable10 = ((string___String___to_s_t)CALL(variable10,COLOR_string___Object___to_s))(variable10) /*String::to_s*/;
+  ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable10) /*String::append*/;
+  variable11 = NEW_string___String___with_native(BOX_NativeString(".\n"), TAG_Int(2)); /*new String*/
+  variable12 = variable11;
+  ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable12) /*String::append*/;
+  ((file___OFStream___write_t)CALL( variable5 /*f*/,COLOR_stream___OStream___write))( variable5 /*f*/, variable6) /*OFStream::write*/;
+  variable6 = NEW_string___String___init(); /*new String*/
   variable7 = NEW_string___String___with_native(BOX_NativeString("CLIBDIR=\""), TAG_Int(9)); /*new String*/
   variable8 = variable7;
   ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable8) /*String::append*/;
@@ -287,7 +300,7 @@ void compiling___MMSrcModule___compile_prog_to_c(val_t  self, val_t  param0) {
   return;
 }
 void compiling___MMSrcModule___compile_main(val_t  self, val_t  param0, val_t  param1) {
-  struct trace_t trace = {NULL, "compiling::MMSrcModule::compile_main (src/compiling//compiling.nit:79,2--93:9)"};
+  struct trace_t trace = {NULL, "compiling::MMSrcModule::compile_main (src/compiling//compiling.nit:80,2--95:9)"};
   val_t variable0;
   val_t variable1;
   val_t variable2;
@@ -344,6 +357,18 @@ void compiling___MMSrcModule___compile_main(val_t  self, val_t  param0, val_t  p
   variable5 = NEW_file___OFStream___open(variable4); /*new OFStream*/
   variable4 = variable5;
   variable3 = variable4;
+  variable4 = NEW_string___String___init(); /*new String*/
+  variable5 = NEW_string___String___with_native(BOX_NativeString("/* This C file is generated by NIT to compile program "), TAG_Int(54)); /*new String*/
+  variable6 = variable5;
+  ((string___String___append_t)CALL(variable4,COLOR_abstract_collection___IndexedCollection___append))(variable4, variable6) /*String::append*/;
+  variable7 = ((abstractmetamodel___MMModule___name_t)CALL( self,COLOR_abstractmetamodel___MMModule___name))( self) /*MMSrcModule::name*/;
+  variable8 = variable7;
+  variable8 = ((string___String___to_s_t)CALL(variable8,COLOR_string___Object___to_s))(variable8) /*String::to_s*/;
+  ((string___String___append_t)CALL(variable4,COLOR_abstract_collection___IndexedCollection___append))(variable4, variable8) /*String::append*/;
+  variable9 = NEW_string___String___with_native(BOX_NativeString(". */\n"), TAG_Int(5)); /*new String*/
+  variable10 = variable9;
+  ((string___String___append_t)CALL(variable4,COLOR_abstract_collection___IndexedCollection___append))(variable4, variable10) /*String::append*/;
+  ((file___OFStream___write_t)CALL( variable3 /*f*/,COLOR_stream___OStream___write))( variable3 /*f*/, variable4) /*OFStream::write*/;
   variable4 = ((abstractmetamodel___MMModule___mhe_t)CALL( self,COLOR_abstractmetamodel___MMModule___mhe))( self) /*MMSrcModule::mhe*/;
   variable4 = ((partial_order___PartialOrderElement___greaters_and_self_t)CALL(variable4,COLOR_partial_order___PartialOrderElement___greaters_and_self))(variable4) /*PartialOrderElement::greaters_and_self*/;
   variable4 = ((abstract_collection___Collection___iterator_t)CALL(variable4,COLOR_abstract_collection___Collection___iterator))(variable4) /*Collection::iterator*/;
@@ -380,7 +405,7 @@ void compiling___MMSrcModule___compile_main(val_t  self, val_t  param0, val_t  p
   return;
 }
 void compiling___MMSrcModule___compile_separate_module(val_t  self, val_t  param0, val_t  param1) {
-  struct trace_t trace = {NULL, "compiling::MMSrcModule::compile_separate_module (src/compiling//compiling.nit:96,2--119:9)"};
+  struct trace_t trace = {NULL, "compiling::MMSrcModule::compile_separate_module (src/compiling//compiling.nit:98,2--123:9)"};
   val_t variable0;
   val_t variable1;
   val_t variable2;
@@ -461,6 +486,18 @@ void compiling___MMSrcModule___compile_separate_module(val_t  self, val_t  param
   variable5 = variable6;
   variable4 = variable5;
   variable5 = NEW_string___String___init(); /*new String*/
+  variable6 = NEW_string___String___with_native(BOX_NativeString("/* This C header file is generated by NIT to compile modules and programs that requires "), TAG_Int(88)); /*new String*/
+  variable7 = variable6;
+  ((string___String___append_t)CALL(variable5,COLOR_abstract_collection___IndexedCollection___append))(variable5, variable7) /*String::append*/;
+  variable8 = ((abstractmetamodel___MMModule___name_t)CALL( self,COLOR_abstractmetamodel___MMModule___name))( self) /*MMSrcModule::name*/;
+  variable9 = variable8;
+  variable9 = ((string___String___to_s_t)CALL(variable9,COLOR_string___Object___to_s))(variable9) /*String::to_s*/;
+  ((string___String___append_t)CALL(variable5,COLOR_abstract_collection___IndexedCollection___append))(variable5, variable9) /*String::append*/;
+  variable10 = NEW_string___String___with_native(BOX_NativeString(". */\n"), TAG_Int(5)); /*new String*/
+  variable11 = variable10;
+  ((string___String___append_t)CALL(variable5,COLOR_abstract_collection___IndexedCollection___append))(variable5, variable11) /*String::append*/;
+  ((file___OFStream___write_t)CALL( variable4 /*f*/,COLOR_stream___OStream___write))( variable4 /*f*/, variable5) /*OFStream::write*/;
+  variable5 = NEW_string___String___init(); /*new String*/
   variable6 = NEW_string___String___with_native(BOX_NativeString("#ifndef "), TAG_Int(8)); /*new String*/
   variable7 = variable6;
   ((string___String___append_t)CALL(variable5,COLOR_abstract_collection___IndexedCollection___append))(variable5, variable7) /*String::append*/;
@@ -560,6 +597,18 @@ void compiling___MMSrcModule___compile_separate_module(val_t  self, val_t  param
   variable6 = variable7;
   variable5 = variable6;
   variable6 = NEW_string___String___init(); /*new String*/
+  variable7 = NEW_string___String___with_native(BOX_NativeString("/* This C file is generated by NIT to compile module "), TAG_Int(53)); /*new String*/
+  variable8 = variable7;
+  ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable8) /*String::append*/;
+  variable9 = ((abstractmetamodel___MMModule___name_t)CALL( self,COLOR_abstractmetamodel___MMModule___name))( self) /*MMSrcModule::name*/;
+  variable10 = variable9;
+  variable10 = ((string___String___to_s_t)CALL(variable10,COLOR_string___Object___to_s))(variable10) /*String::to_s*/;
+  ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable10) /*String::append*/;
+  variable11 = NEW_string___String___with_native(BOX_NativeString(". */\n"), TAG_Int(5)); /*new String*/
+  variable12 = variable11;
+  ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable12) /*String::append*/;
+  ((file___OFStream___write_t)CALL( variable5 /*f*/,COLOR_stream___OStream___write))( variable5 /*f*/, variable6) /*OFStream::write*/;
+  variable6 = NEW_string___String___init(); /*new String*/
   variable7 = NEW_string___String___with_native(BOX_NativeString("#include \""), TAG_Int(10)); /*new String*/
   variable8 = variable7;
   ((string___String___append_t)CALL(variable6,COLOR_abstract_collection___IndexedCollection___append))(variable6, variable8) /*String::append*/;
index d6adfa9..9df5c96 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires compiling. */
 #ifndef compiling__sep
 #define compiling__sep
 #include "compiling_global._sep.h"
index 89b5800..48340bd 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module compiling_base. */
 #include "compiling_base._sep.h"
 val_t compiling_base___ToolContext___global(val_t  self) {
   struct trace_t trace = {NULL, "compiling_base::ToolContext::global (src/compiling//compiling_base.nit:24,2--37)"};
index a1b3ed2..009c012 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires compiling_base. */
 #ifndef compiling_base__sep
 #define compiling_base__sep
 #include "syntax._sep.h"
index ae0fca2..2f1ad2d 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module compiling_global. */
 #include "compiling_global._sep.h"
 val_t compiling_global___ColorContext___color(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "compiling_global::ColorContext::color (src/compiling//compiling_global.nit:28,2--31:18)"};
index 171552c..3d99157 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires compiling_global. */
 #ifndef compiling_global__sep
 #define compiling_global__sep
 #include "compiling_methods._sep.h"
index e4909ac..7c87746 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module compiling_methods. */
 #include "compiling_methods._sep.h"
 void compiling_methods___CompilerVisitor___compile_stmt(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "compiling_methods::CompilerVisitor::compile_stmt (src/compiling//compiling_methods.nit:24,2--30:21)"};
index 1f45675..569c3f6 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires compiling_methods. */
 #ifndef compiling_methods__sep
 #define compiling_methods__sep
 #include "compiling_base._sep.h"
index 49c84a0..f39ea5a 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module control_flow. */
 #include "control_flow._sep.h"
 void control_flow___MMSrcModule___do_control_flow(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "control_flow::MMSrcModule::do_control_flow (src/syntax//control_flow.nit:23,2--28:15)"};
index 32bd3be..df9b789 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires control_flow. */
 #ifndef control_flow__sep
 #define control_flow__sep
 #include "syntax_base._sep.h"
index f376442..623a67a 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module environ. */
 #include "environ._sep.h"
 val_t environ___Symbol___environ(val_t  self) {
   struct trace_t trace = {NULL, "environ::Symbol::environ (bin/../lib/standard//environ.nit:19,2--23:60)"};
index 06ed9d2..41b30f0 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires environ. */
 #ifndef environ__sep
 #define environ__sep
 #include "symbol._sep.h"
index 2785f2b..cad679c 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module exec. */
 #include "exec._sep.h"
 val_t exec___Process___id(val_t  self) {
   struct trace_t trace = {NULL, "exec::Process::id (bin/../lib/standard//exec.nit:23,2--24:32)"};
index 95f5df6..cf91220 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires exec. */
 #ifndef exec__sep
 #define exec__sep
 #include "stream._sep.h"
index cff4729..b98b31b 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module file. */
 #include "file._sep.h"
 void file___Object___printn(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "file::Object::printn (bin/../lib/standard//file.nit:24,2--27:27)"};
index 144a2ae..aa2f6af 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires file. */
 #ifndef file__sep
 #define file__sep
 #include "stream._sep.h"
index 42d38b5..ba6a62e 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module genericity. */
 #include "genericity._sep.h"
 val_t genericity___MMLocalClass___get_formal(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "genericity::MMLocalClass::get_formal (src/metamodel//genericity.nit:25,2--28:26)"};
index 4b084b7..4becd42 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires genericity. */
 #ifndef genericity__sep
 #define genericity__sep
 #include "type_formal._sep.h"
index 17e041a..19b78f7 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module hash. */
 #include "hash._sep.h"
 val_t hash___Object___hash(val_t  self) {
   struct trace_t trace = {NULL, "hash::Object::hash (bin/../lib/standard//hash.nit:21,2--25:39)"};
index b206cb0..04276a8 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires hash. */
 #ifndef hash__sep
 #define hash__sep
 #include "string._sep.h"
index 11ff936..777dac9 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module inheritance. */
 #include "inheritance._sep.h"
 val_t inheritance___MMModule___type_any(val_t  self) {
   struct trace_t trace = {NULL, "inheritance::MMModule::type_any (src/metamodel//inheritance.nit:24,2--28:24)"};
index a3c2979..12692ed 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires inheritance. */
 #ifndef inheritance__sep
 #define inheritance__sep
 #include "static_type._sep.h"
index 0b467b7..45dfb37 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module kernel. */
 #include "kernel._sep.h"
 val_t kernel___Object___object_id(val_t  self) {
   struct trace_t trace = {NULL, "kernel::Object::object_id (bin/../lib/standard//kernel.nit:26,2--27:20)"};
index dc68a15..53d3e57 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires kernel. */
 #ifndef kernel__sep
 #define kernel__sep
 #include <nit_common.h>
index 52f168e..e3b2904 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module lexer. */
 #include "lexer._sep.h"
 val_t lexer___Token___text(val_t  self) {
   struct trace_t trace = {NULL, "lexer::Token::text (src/parser//lexer.nit:8,5--40)"};
index c7088f5..60452a3 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires lexer. */
 #ifndef lexer__sep
 #define lexer__sep
 #include "parser_nodes._sep.h"
index df434f4..5c909ef 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module list. */
 #include "list._sep.h"
 val_t list___List_____bra(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "list::List::[] (bin/../lib/standard//list.nit:21,1--22:52)"};
index 6193a8a..748ba68 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires list. */
 #ifndef list__sep
 #define list__sep
 #include "abstract_collection._sep.h"
index 28ebae9..27dccab 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module math. */
 #include "math._sep.h"
 val_t math___Int___rand(val_t  self) {
   struct trace_t trace = {NULL, "math::Int::rand (bin/../lib/standard//math.nit:19,2--49)"};
index 72a3141..268dff4 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires math. */
 #ifndef math__sep
 #define math__sep
 #include "kernel._sep.h"
index dbe2bdb..271bd12 100644 (file)
@@ -1,2 +1,3 @@
+/* This C file is generated by NIT to compile module metamodel. */
 #include "metamodel._sep.h"
 
index cfaa88f..7e3eecb 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires metamodel. */
 #ifndef metamodel__sep
 #define metamodel__sep
 #include "vararg._sep.h"
index 9c5f79d..14c931b 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module mmbuilder. */
 #include "mmbuilder._sep.h"
 val_t mmbuilder___CSHSorter___compare(val_t  self, val_t  param0, val_t  param1) {
   struct trace_t trace = {NULL, "mmbuilder::CSHSorter::compare (src/syntax//mmbuilder.nit:27,2--29:36)"};
index 2733b04..1da99e3 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires mmbuilder. */
 #ifndef mmbuilder__sep
 #define mmbuilder__sep
 #include "syntax_base._sep.h"
index 245ea2d..d40e836 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module mmloader. */
 #include "mmloader._sep.h"
 val_t mmloader___ToolContext___error_count(val_t  self) {
   struct trace_t trace = {NULL, "mmloader::ToolContext::error_count (src/mmloader.nit:27,2--28:32)"};
index f0b9e57..5ee7460 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires mmloader. */
 #ifndef mmloader__sep
 #define mmloader__sep
 #include "metamodel._sep.h"
index 373a392..22b4a2a 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# This shell script is generated by NIT to compile the program nitc.
 CLIBDIR="../lib"
 ../bin/gccx -d .nit_compile -I $CLIBDIR -I ../lib/standard/ -o nitc "$@" \
   $CLIBDIR/nit_main.c\
index 5bf2a64..972e6d4 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module nitc. */
 #include "nitc._sep.h"
 val_t nitc___NitCompiler___opt_output(val_t  self) {
   struct trace_t trace = {NULL, "nitc::NitCompiler::opt_output (src/nitc.nit:26,2--91)"};
index 5f98a41..ebe01a4 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires nitc. */
 #ifndef nitc__sep
 #define nitc__sep
 #include "abstracttool._sep.h"
index d011cd9..042b659 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile program nitc. */
 #include "abstracttool._sep.h"
 #include "syntax._sep.h"
 #include "mmbuilder._sep.h"
index 4e781bd..8d093dd 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module opts. */
 #include "opts._sep.h"
 val_t opts___Option___names(val_t  self) {
   struct trace_t trace = {NULL, "opts::Option::names (bin/../lib/opts.nit:16,2--17:35)"};
index 4fb8faa..03e0e60 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires opts. */
 #ifndef opts__sep
 #define opts__sep
 #include "standard._sep.h"
index 33902e3..a6a7131 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module parser. */
 #include "parser._sep.h"
 val_t parser___State___state(val_t  self) {
   struct trace_t trace = {NULL, "parser::State::state (src/parser//parser.nit:10,2--11:35)"};
index f96fdd8..c29c692 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires parser. */
 #ifndef parser__sep
 #define parser__sep
 #include "parser_prod._sep.h"
index 5edf7cc..bd13fc4 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module parser_nodes. */
 #include "parser_nodes._sep.h"
 val_t parser_nodes___PPropdef___n_doc(val_t  self) {
   struct trace_t trace = {NULL, "parser_nodes::PPropdef::n_doc (src/parser//parser_nodes.nit:280,5--39)"};
index e4a250d..b909af3 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires parser_nodes. */
 #ifndef parser_nodes__sep
 #define parser_nodes__sep
 #include "standard._sep.h"
index e5aef11..f2c8f9a 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module parser_prod. */
 #include "parser_prod._sep.h"
 val_t parser_prod___PNode___parent(val_t  self) {
   struct trace_t trace = {NULL, "parser_prod::PNode::parent (src/parser//parser_prod.nit:9,2--10:38)"};
index 691520c..8c13559 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires parser_prod. */
 #ifndef parser_prod__sep
 #define parser_prod__sep
 #include "lexer._sep.h"
index 5b9018f..7a3efb6 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module parser_tables. */
 #include "parser_tables._sep.h"
 void parser_tables___Parser___build_action_table(val_t  self) {
   struct trace_t trace = {NULL, "parser_tables::Parser::build_action_table (src/parser//parser_tables.nit:8,2--1154:34)"};
index b252860..b9c516d 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires parser_tables. */
 #ifndef parser_tables__sep
 #define parser_tables__sep
 #include "standard._sep.h"
index 7aed199..0fa26e0 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module partial_order. */
 #include "partial_order._sep.h"
 val_t partial_order___PartialOrder___roots(val_t  self) {
   struct trace_t trace = {NULL, "partial_order::PartialOrder::roots (src/metamodel//partial_order.nit:30,2--31:30)"};
index 4d8b93c..03feadd 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires partial_order. */
 #ifndef partial_order__sep
 #define partial_order__sep
 #include "standard._sep.h"
index 343a840..15a0389 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module range. */
 #include "range._sep.h"
 val_t range___Range___first(val_t  self) {
   struct trace_t trace = {NULL, "range::Range::first (bin/../lib/standard//range.nit:22,2--30)"};
index 3b31f16..1d96968 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires range. */
 #ifndef range__sep
 #define range__sep
 #include "abstract_collection._sep.h"
index ce7287f..3835347 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module sorter. */
 #include "sorter._sep.h"
 val_t sorter___AbstractSorter___compare(val_t  self, val_t  param0, val_t  param1) {
   struct trace_t trace = {NULL, "sorter::AbstractSorter::compare (bin/../lib/standard//sorter.nit:22,2--27:40)"};
index 0249627..ba7b780 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires sorter. */
 #ifndef sorter__sep
 #define sorter__sep
 #include "array._sep.h"
index 29729d5..b79b2b7 100644 (file)
@@ -1,2 +1,3 @@
+/* This C file is generated by NIT to compile module standard. */
 #include "standard._sep.h"
 
index c2708c4..7837bee 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires standard. */
 #ifndef standard__sep
 #define standard__sep
 #include "environ._sep.h"
index 52f4851..dc1b3f2 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module static_type. */
 #include "static_type._sep.h"
 val_t static_type___MMLocalClass___get_type(val_t  self) {
   struct trace_t trace = {NULL, "static_type::MMLocalClass::get_type (src/metamodel//static_type.nit:27,2--31:25)"};
index 214c8c1..b925102 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires static_type. */
 #ifndef static_type__sep
 #define static_type__sep
 #include "abstractmetamodel._sep.h"
index c7c307a..3455f90 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module stream. */
 #include "stream._sep.h"
 void stream___IOS___close(val_t  self) {
   struct trace_t trace = {NULL, "stream::IOS::close (bin/../lib/standard//stream.nit:20,2--21:11)"};
index d586199..98f59be 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires stream. */
 #ifndef stream__sep
 #define stream__sep
 #include "string._sep.h"
index 50b3a01..3d4182f 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module string. */
 #include "string._sep.h"
 val_t string___String_____bra(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "string::String::[] (bin/../lib/standard//string.nit:31,2--44)"};
index c51fd6e..c5e62eb 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires string. */
 #ifndef string__sep
 #define string__sep
 #include "array._sep.h"
index bf22411..3cadc2e 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module string_search. */
 #include "string_search._sep.h"
 val_t string_search___Pattern___search_index_in(val_t  self, val_t  param0, val_t  param1) {
   struct trace_t trace = {NULL, "string_search::Pattern::search_index_in (bin/../lib/standard//string_search.nit:21,2--24:48)"};
index df587f8..1c6024d 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires string_search. */
 #ifndef string_search__sep
 #define string_search__sep
 #include "string._sep.h"
index c02b840..30c25b8 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module symbol. */
 #include "symbol._sep.h"
 val_t symbol___String___to_symbol(val_t  self) {
   struct trace_t trace = {NULL, "symbol::String::to_symbol (bin/../lib/standard//symbol.nit:20,2--29:16)"};
index dc5ef62..bdb0584 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires symbol. */
 #ifndef symbol__sep
 #define symbol__sep
 #include "hash._sep.h"
index a19a30c..0a549b6 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module syntax. */
 #include "syntax._sep.h"
 val_t syntax___SrcModuleLoader___file_type(val_t  self) {
   struct trace_t trace = {NULL, "syntax::SrcModuleLoader::file_type (src/syntax//syntax.nit:31,2--37)"};
index b0354ba..6b70408 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires syntax. */
 #ifndef syntax__sep
 #define syntax__sep
 #include "mmbuilder._sep.h"
index 91b10a4..4eef442 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module syntax_base. */
 #include "syntax_base._sep.h"
 val_t syntax_base___MMSrcModule___node(val_t  self) {
   struct trace_t trace = {NULL, "syntax_base::MMSrcModule::node (src/syntax//syntax_base.nit:26,2--27:29)"};
index 3a7bda3..24f5c26 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires syntax_base. */
 #ifndef syntax_base__sep
 #define syntax_base__sep
 #include "parser._sep.h"
index c9b842e..296362f 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module time. */
 #include "time._sep.h"
 val_t time___Object___get_time(val_t  self) {
   struct trace_t trace = {NULL, "time::Object::get_time (bin/../lib/standard//time.nit:18,2--67)"};
index e747edb..b8a08ba 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires time. */
 #ifndef time__sep
 #define time__sep
 #include "kernel._sep.h"
index 9813a3e..d090cf1 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module type_formal. */
 #include "type_formal._sep.h"
 val_t type_formal___MMType___direct_type(val_t  self) {
   struct trace_t trace = {NULL, "type_formal::MMType::direct_type (src/metamodel//type_formal.nit:24,2--25:40)"};
index 428c483..41198bb 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires type_formal. */
 #ifndef type_formal__sep
 #define type_formal__sep
 #include "inheritance._sep.h"
index 61d8b35..8654b62 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module typing. */
 #include "typing._sep.h"
 void typing___MMSrcModule___do_typing(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "typing::MMSrcModule::do_typing (src/syntax//typing.nit:23,2--28:15)"};
index 637d1ae..2c77938 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires typing. */
 #ifndef typing__sep
 #define typing__sep
 #include "syntax_base._sep.h"
index 6ac12dd..ac1e7c7 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module utils. */
 #include "utils._sep.h"
 val_t utils___Object___cmangle(val_t  self, val_t  param0) {
   struct trace_t trace = {NULL, "utils::Object::cmangle (src/utils.nit:21,1--55:11)"};
index 667fd57..1782e04 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires utils. */
 #ifndef utils__sep
 #define utils__sep
 #include "standard._sep.h"
index cfde9ba..36a28df 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module vararg. */
 #include "vararg._sep.h"
 val_t vararg___MMSignature___vararg_rank(val_t  self) {
   struct trace_t trace = {NULL, "vararg::MMSignature::vararg_rank (src/metamodel//vararg.nit:24,2--25:41)"};
index 0974cdd..58560a0 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires vararg. */
 #ifndef vararg__sep
 #define vararg__sep
 #include "genericity._sep.h"
index 836e566..c6a5f45 100644 (file)
@@ -1,3 +1,4 @@
+/* This C file is generated by NIT to compile module virtualtype. */
 #include "virtualtype._sep.h"
 val_t virtualtype___MMGlobalProperty___is_virtual_type(val_t  self) {
   struct trace_t trace = {NULL, "virtualtype::MMGlobalProperty::is_virtual_type (src/metamodel//virtualtype.nit:24,2--25:62)"};
index 014deee..9aa606e 100644 (file)
@@ -1,3 +1,4 @@
+/* This C header file is generated by NIT to compile modules and programs that requires virtualtype. */
 #ifndef virtualtype__sep
 #define virtualtype__sep
 #include "type_formal._sep.h"
index 5f7aeca..f72eaea 100644 (file)
@@ -58,6 +58,7 @@ redef class MMSrcModule
                var fn = "{tc.base_dir}/{name}.{tc.ext_prefix}_build.sh"
                var f = new OFStream.open(fn)
                f.write("#!/bin/sh\n")
+               f.write("# This shell script is generated by NIT to compile the program {name}.\n")
                f.write("CLIBDIR=\"{tc.clibdir}\"\n")
                f.write("{tc.bindir}/gccx -d {tc.base_dir} -I $CLIBDIR {includes.join(" ")}")
                if tc.output_file != null then 
@@ -86,6 +87,7 @@ redef class MMSrcModule
                compile_tables_to_c(v)
                compile_main_part(v)
                var f = new OFStream.open("{tc.base_dir}/{name}.{tc.ext_prefix}_tables.c")
+               f.write("/* This C file is generated by NIT to compile program {name}. */\n")
                for m in mhe.greaters_and_self do
                        f.write("#include \"{m.name}.{tc.ext_prefix}_sep.h\"\n")
                end
@@ -106,6 +108,7 @@ redef class MMSrcModule
                declare_class_tables_to_c(v)
                compile_mod_to_c(v)
                var f = new OFStream.open("{tc.base_dir}/{name}.{tc.ext_prefix}_sep.h")
+               f.write("/* This C header file is generated by NIT to compile modules and programs that requires {name}. */\n")
                f.write("#ifndef {name}_{tc.ext_prefix}_sep\n")
                f.write("#define {name}_{tc.ext_prefix}_sep\n")
                for m in mhe.direct_greaters do f.write("#include \"{m.name}.{tc.ext_prefix}_sep.h\"\n")
@@ -113,6 +116,7 @@ redef class MMSrcModule
                f.write("\n#endif\n")
                f.close
                var f = new OFStream.open("{tc.base_dir}/{name}.{tc.ext_prefix}_sep.c")
+               f.write("/* This C file is generated by NIT to compile module {name}. */\n")
                f.write("#include \"{name}.{tc.ext_prefix}_sep.h\"\n")
                f.write(v.ctx.instrs.join("\n"))
                f.write("\n")