* parse.y (struct parser_params): common members in the parser and
ripper must be placed at each same location. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
740e1b66c8
commit
50f5de1491
@ -1,3 +1,8 @@
|
|||||||
|
Sat Sep 15 23:36:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* parse.y (struct parser_params): common members in the parser and
|
||||||
|
ripper must be placed at each same location.
|
||||||
|
|
||||||
Sat Sep 15 18:25:15 2007 Kouhei Sutou <kou@cozmixng.org>
|
Sat Sep 15 18:25:15 2007 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]
|
* string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]
|
||||||
|
3
parse.y
3
parse.y
@ -236,6 +236,7 @@ struct parser_params {
|
|||||||
int line_count;
|
int line_count;
|
||||||
int has_shebang;
|
int has_shebang;
|
||||||
int parser_ruby_sourceline; /* current line no. */
|
int parser_ruby_sourceline; /* current line no. */
|
||||||
|
rb_encoding *enc;
|
||||||
|
|
||||||
#ifndef RIPPER
|
#ifndef RIPPER
|
||||||
/* Ruby core only */
|
/* Ruby core only */
|
||||||
@ -257,8 +258,6 @@ struct parser_params {
|
|||||||
VALUE parsing_thread;
|
VALUE parsing_thread;
|
||||||
int toplevel_p;
|
int toplevel_p;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rb_encoding *enc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define STR_NEW(p,n) rb_enc_str_new((p),(n),parser->enc)
|
#define STR_NEW(p,n) rb_enc_str_new((p),(n),parser->enc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user