diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-21 13:14:25 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-27 11:20:35 -0600 |
commit | c5184715c0018eac1440599795d6341d07559dd4 (patch) | |
tree | a7415811daca57e2a0fe60bd88f24047982e8612 /regcomp.h | |
parent | b61e55cb1695ff940310c75f08e41cfbfc16d73c (diff) | |
download | perl-c5184715c0018eac1440599795d6341d07559dd4.tar.gz |
regcomp.h: Remove duplicate macro expansion
This macro has the same definition as another.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -331,7 +331,8 @@ struct regnode_ssc { #define FLAGS(p) ((p)->flags) /* Caution: Doesn't apply to all \ regnode types. For some, it's the \ character set of the regnode */ -#define OPERAND(p) (((struct regnode_string *)p)->string) +#define OPERAND(p) STRING(p) + #define MASK(p) ((char*)OPERAND(p)) #define STR_LEN(p) (((struct regnode_string *)p)->str_len) #define STRING(p) (((struct regnode_string *)p)->string) |