summaryrefslogtreecommitdiff
path: root/ext/racc
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-02 10:04:14 (GMT)
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-02 10:04:14 (GMT)
commitfe42e405abd72e8005b043f33a06d124531e0d1f (patch)
treeb6402d2da017f03c7847890f0a94e05325c6ef70 /ext/racc
parentcafdfd306e06a9dcb3168bf27dd9190353ad821f (diff)
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/racc')
-rw-r--r--ext/racc/cparse/cparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c
index d846f4f..be4d138 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);