1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (yycompile0): remove setting parser->enc because it is set

in parser_prepare() by previous change of parser_prepare().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-01-09 05:57:29 +00:00
parent 9874fdbc86
commit ff1cd79d08
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Jan 9 14:55:36 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* parse.y (yycompile0): remove setting parser->enc because it is set
in parser_prepare() by previous change of parser_prepare().
Wed Jan 9 14:52:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with self

View file

@ -4675,7 +4675,6 @@ yycompile0(VALUE arg, int tracing)
}
}
parser->enc = rb_enc_get(lex_input);
parser_prepare(parser);
n = yyparse((void*)parser);
ruby_debug_lines = 0;