From ec2f49e97e3309a775b70b76f31a02caf395946e Mon Sep 17 00:00:00 2001 From: ngoto Date: Mon, 2 Nov 2015 17:10:38 +0000 Subject: * 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 --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') 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*); -- cgit v1.2.3