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

* parse.y (ripper_warningS): now used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-05-15 13:38:21 +00:00
parent 1d53405b31
commit 42389bd736
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,7 @@
Thu May 15 22:37:56 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* parse.y (ripper_warningS): now used.
Thu May 15 15:33:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (file_expand_path): support for alternative data stream

View file

@ -558,10 +558,8 @@ static void ripper_warn0(struct parser_params*, const char*);
static void ripper_warnI(struct parser_params*, const char*, int);
static void ripper_warnS(struct parser_params*, const char*, const char*);
static void ripper_warning0(struct parser_params*, const char*);
#if 0 /* unused in ripper right now */
static void ripper_warningS(struct parser_params*, const char*, const char*);
#endif
#endif
#ifdef RIPPER
static void ripper_compile_error(struct parser_params*, const char *fmt, ...);
@ -9778,14 +9776,12 @@ ripper_warning0(struct parser_params *parser, const char *fmt)
rb_funcall(parser->value, rb_intern("warning"), 1, 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,
STR_NEW2(fmt), STR_NEW2(str));
STR_NEW2(fmt), STR_NEW2(str));
}
#endif
static VALUE
ripper_lex_get_generic(struct parser_params *parser, VALUE src)