From 7f7834abf738ab26236bea159fce7f37dea03f1f Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 23 Sep 2008 07:49:45 +0000 Subject: * include/ruby/node.h, vm_core.h: move definition of RUBY_VM_METHOD_NODE to node.h. * class.c, common.mk: remove useless inclusion. * compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h. move some definitions from vm_core.h to iseq.h. * compile.c, iseq.c, vm.c: ditto. * eval.c, compile.c: move some functions for parser from eval.c to compile.c. * eval_intern.h, vm_core.h: move va_init_list() macro to vm_core.h. * iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added. * load.c, ruby.c: use rb_iseq_new_top() instead of rb_iseq_new() with ISEQ_TYPE_TOP constant directly. * proc.c: use rb_iseq_first_lineno() instead of accessing iseq structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/ruby/node.h b/include/ruby/node.h index d83f55098c..5ae28382bd 100644 --- a/include/ruby/node.h +++ b/include/ruby/node.h @@ -481,6 +481,8 @@ typedef struct RNode { #define CALL_VCALL 2 #define CALL_SUPER 3 +#define RUBY_VM_METHOD_NODE NODE_METHOD + VALUE rb_parser_new(void); VALUE rb_parser_end_seen_p(VALUE); VALUE rb_parser_encoding(VALUE); -- cgit v1.2.3