From 2e311f6bd56a6f6f380e400863a21adbfb73ddfe Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 23 Sep 2008 19:52:31 +0000 Subject: [PATCH] * include/ruby/node.h, node.h: move node.h from include path. This change stop to install node.h beacuase of saving ABI (node.h will be changed. Extensions should not depends on this file). * blockinlining.c, class.c, compile.c, debug.h, enum.c, gc.c, iseq.c, parse.y, ruby.c, signal.c, variable.c, vm.c, vm_core.h, vm_dump.c: ditto. * ext/ripper/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 13 +++++++++++++ blockinlining.c | 1 - class.c | 2 +- compile.c | 1 - debug.h | 2 +- enum.c | 2 +- ext/ripper/depend | 2 +- gc.c | 1 - iseq.c | 1 - include/ruby/node.h => node.h | 0 parse.y | 2 +- ruby.c | 1 - signal.c | 1 - variable.c | 2 +- vm.c | 1 - vm_core.h | 2 +- vm_dump.c | 1 - 17 files changed, 20 insertions(+), 15 deletions(-) rename include/ruby/node.h => node.h (100%) diff --git a/ChangeLog b/ChangeLog index 59e2310a1a..a5b762cac1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Wed Sep 24 04:45:35 2008 Koichi Sasada + + * include/ruby/node.h, node.h: move node.h from include path. + This change stop to install node.h beacuase of saving ABI + (node.h will be changed. Extensions should not depends on + this file). + + * blockinlining.c, class.c, compile.c, debug.h, enum.c, + gc.c, iseq.c, parse.y, ruby.c, signal.c, variable.c, + vm.c, vm_core.h, vm_dump.c: ditto. + + * ext/ripper/depend: ditto. + Wed Sep 24 04:09:13 2008 Koichi Sasada * vm_core.h: remove unused frame values. diff --git a/blockinlining.c b/blockinlining.c index 3f4aa86fe5..a65906632e 100644 --- a/blockinlining.c +++ b/blockinlining.c @@ -9,7 +9,6 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #include "vm_core.h" static VALUE diff --git a/class.c b/class.c index c3f819b477..8a8e9c1f40 100644 --- a/class.c +++ b/class.c @@ -10,8 +10,8 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #include "ruby/st.h" +#include "node.h" #include extern st_table *rb_class_tbl; diff --git a/compile.c b/compile.c index 8e8decbe96..4a1fc9c73c 100644 --- a/compile.c +++ b/compile.c @@ -10,7 +10,6 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #define USE_INSN_STACK_INCREASE 1 #include "vm_core.h" diff --git a/debug.h b/debug.h index 107ece9ec4..d5670651a4 100644 --- a/debug.h +++ b/debug.h @@ -13,7 +13,7 @@ #define RUBY_DEBUG_H #include "ruby/ruby.h" -#include "ruby/node.h" +#include "node.h" #define dpv(h,v) ruby_debug_print_value(-1, 0, h, v) #define dp(v) ruby_debug_print_value(-1, 0, "", v) diff --git a/enum.c b/enum.c index a16f9e95d0..0bb8b6453c 100644 --- a/enum.c +++ b/enum.c @@ -10,8 +10,8 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #include "ruby/util.h" +#include "node.h" VALUE rb_mEnumerable; static ID id_each, id_eqq, id_cmp, id_next, id_size; diff --git a/ext/ripper/depend b/ext/ripper/depend index bd8e06a5aa..e8a53e436b 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -9,7 +9,7 @@ ripper.o: ripper.c lex.c eventids1.c eventids2.c eventids2table.c \ $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \ $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/intern.h \ $(hdrdir)/ruby/encoding.h $(hdrdir)/missing.h \ - $(hdrdir)/node.h $(hdrdir)/oniguruma.h \ + $(hdrdir)/../node.h $(hdrdir)/oniguruma.h \ $(hdrdir)/regex.h $(hdrdir)/st.h $(hdrdir)/util.h .y.c: diff --git a/gc.c b/gc.c index 5a1d8723a8..6117caf480 100644 --- a/gc.c +++ b/gc.c @@ -13,7 +13,6 @@ #include "ruby/ruby.h" #include "ruby/st.h" -#include "ruby/node.h" #include "ruby/re.h" #include "ruby/io.h" #include "ruby/util.h" diff --git a/iseq.c b/iseq.c index de8664d5e4..c4ccc3c24e 100644 --- a/iseq.c +++ b/iseq.c @@ -10,7 +10,6 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" /* #define MARK_FREE_DEBUG 1 */ #include "gc.h" diff --git a/include/ruby/node.h b/node.h similarity index 100% rename from include/ruby/node.h rename to node.h diff --git a/parse.y b/parse.y index b11f56593c..29770aed3d 100644 --- a/parse.y +++ b/parse.y @@ -16,9 +16,9 @@ #define YYSTACK_USE_ALLOCA 0 #include "ruby/ruby.h" -#include "ruby/node.h" #include "ruby/st.h" #include "ruby/encoding.h" +#include "node.h" #include "id.h" #include "regenc.h" #include diff --git a/ruby.c b/ruby.c index 8db5ff5db2..848ae991fe 100644 --- a/ruby.c +++ b/ruby.c @@ -20,7 +20,6 @@ #include "ruby/wince.h" #endif #include "ruby/ruby.h" -#include "ruby/node.h" #include "ruby/encoding.h" #include "eval_intern.h" #include "dln.h" diff --git a/signal.c b/signal.c index 027a117c15..139a6f6518 100644 --- a/signal.c +++ b/signal.c @@ -12,7 +12,6 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #include "vm_core.h" #include #include diff --git a/variable.c b/variable.c index 48de287408..1945bbab2b 100644 --- a/variable.c +++ b/variable.c @@ -12,9 +12,9 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #include "ruby/st.h" #include "ruby/util.h" +#include "node.h" void rb_vm_change_state(void); st_table *rb_global_tbl; diff --git a/vm.c b/vm.c index b3087c370f..d71755afb9 100644 --- a/vm.c +++ b/vm.c @@ -9,7 +9,6 @@ **********************************************************************/ #include "ruby/ruby.h" -#include "ruby/node.h" #include "ruby/st.h" #include "ruby/encoding.h" diff --git a/vm_core.h b/vm_core.h index 7d1543342f..beb9ac407b 100644 --- a/vm_core.h +++ b/vm_core.h @@ -19,8 +19,8 @@ #include "ruby/ruby.h" #include "ruby/vm.h" #include "ruby/st.h" -#include "ruby/node.h" +#include "node.h" #include "debug.h" #include "vm_opts.h" #include "id.h" diff --git a/vm_dump.c b/vm_dump.c index 485d7558ce..c6e30fb7e9 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -10,7 +10,6 @@ #include "ruby/ruby.h" -#include "ruby/node.h" #include "vm_core.h" #define MAX_POSBUF 128