aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-24 04:20:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-24 04:20:02 +0000
commitad02b1da3a68f8667207ea740c57026534a04ce0 (patch)
tree19683b8b1ac7eb77a10ae7203f1b3f60a4b0fb21 /parse.y
parente8c55ea540f85fffdba99d003e9cc363c5888515 (diff)
downloadruby-ad02b1da3a68f8667207ea740c57026534a04ce0.tar.gz
Get rid of unnecessary GCC extension
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index fe366d027b..8c7cb50e75 100644
--- a/parse.y
+++ b/parse.y
@@ -832,14 +832,14 @@ static ID id_warn, id_warning, id_gets;
# define WARN_ARGS(fmt,n) parser->value, id_warn, n, rb_usascii_str_new_lit(fmt)
# define WARN_ARGS_L(l,fmt,n) WARN_ARGS(fmt,n)
# ifdef HAVE_VA_ARGS_MACRO
-# define WARN_CALL(args,...) rb_funcall(args,##__VA_ARGS__)
+# define WARN_CALL(...) rb_funcall(__VA_ARGS__)
# else
# define WARN_CALL rb_funcall
# endif
# define WARNING_ARGS(fmt,n) parser->value, id_warning, n, rb_usascii_str_new_lit(fmt)
# define WARNING_ARGS_L(l, fmt,n) WARNING_ARGS(fmt,n)
# ifdef HAVE_VA_ARGS_MACRO
-# define WARNING_CALL(args,...) rb_funcall(args,##__VA_ARGS__)
+# define WARNING_CALL(...) rb_funcall(__VA_ARGS__)
# else
# define WARNING_CALL rb_funcall
# endif