[前][次][番号順一覧][スレッド一覧]

ruby-changes:40343

From: ngoto <ko1@a...>
Date: Tue, 3 Nov 2015 02:11:01 +0900 (JST)
Subject: [ruby-changes:40343] ngoto:r52424 (trunk): * parse.y (NO_QCALL): fix type mismatch of operands that causes

ngoto	2015-11-03 02:10:38 +0900 (Tue, 03 Nov 2015)

  New Revision: 52424

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52424

  Log:
    * parse.y (NO_QCALL): fix type mismatch of operands that causes
      compile error with Oracle Solaris Studio on Solaris.
      [Bug #11645] [ruby-dev:49327]

  Modified files:
    trunk/ChangeLog
    trunk/parse.y
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52423)
+++ ChangeLog	(revision 52424)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov  3 01:58:46 2015  Naohisa Goto  <ngotogenome@g...>
+
+	* 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@r...>
 
 	* parse.y (lbracket): support .? before aref.  [Feature #11537]
Index: parse.y
===================================================================
--- parse.y	(revision 52423)
+++ parse.y	(revision 52424)
@@ -375,7 +375,7 @@ static int parser_yyerror(struct parser_ https://github.com/ruby/ruby/blob/trunk/parse.y#L375
 #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*);
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]