mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (ripper_warningS): unused in ripper right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4a0ea31319
commit
e6dc7d3d6f
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
Fri Jul 13 11:17:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Fri Jul 13 11:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (program, stmt, primary): reduced duplicated code.
|
||||
|
||||
|
@ -8,6 +8,8 @@ Fri Jul 13 11:17:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
* parse.y (debug_lines): use rb_hash_lookup() to get rid of
|
||||
call of Hash#default.
|
||||
|
||||
* parse.y (ripper_warningS): unused in ripper right now.
|
||||
|
||||
Fri Jul 13 10:33:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* array.c (rb_ary_flatten_bang): check argument if valid
|
||||
|
|
2
parse.y
2
parse.y
|
@ -9003,12 +9003,14 @@ ripper_warning0(struct parser_params *parser, const char *fmt)
|
|||
rb_funcall(parser->value, rb_intern("warning"), 1, rb_str_new2(fmt));
|
||||
}
|
||||
|
||||
#if 0 /* unused in ripper right now */
|
||||
static void
|
||||
ripper_warningS(struct parser_params *parser, const char *fmt, const char *str)
|
||||
{
|
||||
rb_funcall(parser->value, rb_intern("warning"), 2,
|
||||
rb_str_new2(fmt), rb_str_new2(str));
|
||||
}
|
||||
#endif
|
||||
|
||||
static VALUE
|
||||
ripper_lex_get_generic(struct parser_params *parser, VALUE src)
|
||||
|
|
Loading…
Reference in a new issue