diff --git a/ChangeLog b/ChangeLog index 6018c45ba8..92c571c299 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun Jul 2 19:03:30 2006 Minero Aoki + + * ext/racc/cparse/cparse.c: sync with original code, rev 1.7. + + * ext/racc/cparse/cparse.c: must require version.h to get + RUBY_VERSION_CODE. + Sun Jul 2 18:42:27 2006 Minero Aoki * ext/racc/cparse/cparse.c: sync with original source code, rev diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c index d846f4f309..be4d138849 100644 --- a/ext/racc/cparse/cparse.c +++ b/ext/racc/cparse/cparse.c @@ -7,11 +7,12 @@ This library is free software. You can distribute/modify this program under the same terms of ruby. - $originalId: cparse.c,v 1.6 2006/07/02 09:34:14 aamine Exp $ + $originalId: cparse.c,v 1.7 2006/07/02 10:02:02 aamine Exp $ */ #include "ruby.h" +#include "version.h" /* ----------------------------------------------------------------------- Important Constants @@ -188,7 +189,6 @@ static VALUE racc_yyparse _((VALUE parser, VALUE lexer, VALUE lexmid, VALUE arg, VALUE sysdebug)); static void call_lexer _((struct cparse_params *v)); -static VALUE lexer_iter _((VALUE data)); static VALUE lexer_i _((VALUE block_args, VALUE data, VALUE self)); static VALUE assert_array _((VALUE a)); @@ -765,7 +765,7 @@ Init_cparse(void) rb_define_const(Parser, "Racc_Runtime_Core_Version_C", rb_str_new2(RACC_VERSION)); rb_define_const(Parser, "Racc_Runtime_Core_Id_C", - rb_str_new2("$originalId: cparse.c,v 1.6 2006/07/02 09:34:14 aamine Exp $")); + rb_str_new2("$originalId: cparse.c,v 1.7 2006/07/02 10:02:02 aamine Exp $")); CparseParams = rb_define_class_under(Racc, "CparseParams", rb_cObject);