summaryrefslogtreecommitdiff
path: root/rubyparser.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-04-26 16:10:26 +0900
committerNobuyoshi Nakada <[email protected]>2024-06-25 11:07:58 +0900
commit22f98bb7ca485d4e3830b8256c56deb9b92378f6 ()
treeeb3752cb4a93778bbfb2bc73ea06116e25a91ac8 /rubyparser.h
parent691d85d3429891f659e9ebfab6286fa65615be03 (diff)
Parenthesize `nd_fl_newline` macro expressions
-rw-r--r--rubyparser.h6
1 files changed, 3 insertions, 3 deletions
@@ -1166,9 +1166,9 @@ typedef struct RNode_ERROR {
#define NODE_TYPESHIFT 8
#define NODE_TYPEMASK (((VALUE)0x7f)<<NODE_TYPESHIFT)
-#define nd_fl_newline(n) (n)->flags & NODE_FL_NEWLINE
-#define nd_set_fl_newline(n) (n)->flags |= NODE_FL_NEWLINE
-#define nd_unset_fl_newline(n) (n)->flags &= ~NODE_FL_NEWLINE
#define nd_type(n) ((int) ((RNODE(n)->flags & NODE_TYPEMASK)>>NODE_TYPESHIFT))
#define nd_set_type(n,t) \