aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-02 17:10:38 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-02 17:10:38 +0000
commit71c972c05b23fe88543e9bb911be119edde52dd6 (patch)
tree09e0ad278866551847b4232ce20452ce6a30493d /parse.y
parente802ec51fd1e592f770544128a9c698b621f56a0 (diff)
downloadruby-71c972c05b23fe88543e9bb911be119edde52dd6.tar.gz
* parse.y (NO_QCALL): fix type mismatch of operands that causes
compile error with Oracle Solaris Studio on Solaris. [Bug #11645] [ruby-dev:49327] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 9cba332d16..966690ba28 100644
--- a/parse.y
+++ b/parse.y
@@ -375,7 +375,7 @@ static int parser_yyerror(struct parser_params*, const char*);
#define NEW_QCALL(q,r,m,a) NEW_NODE(NODE_CALL_Q(q),r,m,a)
#define NO_QCALL(q, here) \
((q) != tDOTQ ? (void)0 : \
- yyerror(".? in "here" is not supported yet"))
+ (void)yyerror(".? in "here" is not supported yet"))
static int yylex(YYSTYPE*, struct parser_params*);