ruby-changes:46149
From: nobu <ko1@a...>
Date: Thu, 6 Apr 2017 13:42:46 +0900 (JST)
Subject: [ruby-changes:46149] nobu:r58263 (trunk): internal.h: parenthesize macro argument
nobu 2017-04-06 13:42:41 +0900 (Thu, 06 Apr 2017) New Revision: 58263 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58263 Log: internal.h: parenthesize macro argument * internal.h (THROW_DATA_P): parenthesize the argument which is casted. Modified files: trunk/internal.h Index: internal.h =================================================================== --- internal.h (revision 58262) +++ internal.h (revision 58263) @@ -887,7 +887,7 @@ struct vm_throw_data { https://github.com/ruby/ruby/blob/trunk/internal.h#L887 VALUE throw_state; }; -#define THROW_DATA_P(err) RB_TYPE_P(((VALUE)err), T_IMEMO) +#define THROW_DATA_P(err) RB_TYPE_P((VALUE)(err), T_IMEMO) /* IFUNC */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/