summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-15 13:38:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-15 13:38:21 +0000
commit42389bd7361dc0e16687ef473c7a0d4a45c31dce (patch)
tree8cfb89a1a98b2c69dbb6d1c0e4ceabeb44a1fcb5
parent1d53405b313631315b38a0c524cf9ff02589bfb1 (diff)
* parse.y (ripper_warningS): now used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--parse.y6
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b939245..fb67511 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/parse.y b/parse.y
index ae66688..8ecb0ae 100644
--- a/parse.y
+++ b/parse.y
@@ -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)