mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
cafdfd306e
commit
fe42e405ab
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
Sun Jul 2 19:03:30 2006 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* 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 <aamine@loveruby.net>
|
||||
|
||||
* ext/racc/cparse/cparse.c: sync with original source code, rev
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue