From 6bc1937653ac6e69125e505ccf7f42428e966781 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 20 Jan 2011 14:59:59 +0000 Subject: [PATCH] * node.h: parenthesize macro arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ node.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 895926092647ef..c624bac06c2efa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 20 23:58:02 2011 Tanaka Akira + + * node.h: parenthesize macro arguments. + Thu Jan 20 23:25:28 2011 KOSAKI Motohiro * configure.in: Add '#include ' to diff --git a/node.h b/node.h index b9668beccc64ff..9e922a4dbdec0b 100644 --- a/node.h +++ b/node.h @@ -269,7 +269,7 @@ typedef struct RNode { #define nd_type(n) ((int) (((RNODE(n))->flags & NODE_TYPEMASK)>>NODE_TYPESHIFT)) #define nd_set_type(n,t) \ - RNODE(n)->flags=((RNODE(n)->flags&~NODE_TYPEMASK)|((((unsigned long)t)<flags=((RNODE(n)->flags&~NODE_TYPEMASK)|((((unsigned long)(t))<