summaryrefslogtreecommitdiff
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
parente802ec51fd1e592f770544128a9c698b621f56a0 (diff)
* 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
-rw-r--r--ChangeLog6
-rw-r--r--parse.y2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e883c8..b4d1fba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Nov 3 01:58:46 2015 Naohisa Goto <ngotogenome@gmail.com>
+
+ * parse.y (NO_QCALL): fix type mismatch of operands that causes
+ compile error with Oracle Solaris Studio on Solaris.
+ [Bug #11645] [ruby-dev:49327]
+
Mon Nov 2 20:07:10 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (lbracket): support .? before aref. [Feature #11537]
diff --git a/parse.y b/parse.y
index 9cba332..966690b 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*);