diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-08-09 12:21:53 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-09-24 11:36:14 -0600 |
commit | b27fd97ad21e14201a125cc5f2b9adec3273b848 (patch) | |
tree | d4e00a1558a0722370317cdc7ec7f07b101295a3 /regcomp.h | |
parent | 8efd3f97d6982ca46d8f5edca32a16d3b4c34eee (diff) | |
download | perl-b27fd97ad21e14201a125cc5f2b9adec3273b848.tar.gz |
regcomp.h: Parenthesize macro formal parameter
Not doing so can cause problems, so it is standard procedure to
parenthesize all parameters within a macro definition.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -471,7 +471,7 @@ struct regnode_ssc { && (((struct regnode_charclass_class*)(p))->classflags)) #define ANYOF_CLASS_TEST_ANY_SET(p) ANYOF_POSIXL_TEST_ANY_SET(p) -#define ANYOF_POSIXL_OR(source, dest) STMT_START { (dest)->classflags |= source->classflags ; } STMT_END +#define ANYOF_POSIXL_OR(source, dest) STMT_START { (dest)->classflags |= (source)->classflags ; } STMT_END #define ANYOF_CLASS_OR(source, dest) ANYOF_POSIXL_OR((source), (dest)) #define ANYOF_BITMAP_ZERO(ret) Zero(((struct regnode_charclass*)(ret))->bitmap, ANYOF_BITMAP_SIZE, char) |