diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-03 10:57:33 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-09 10:13:54 -0700 |
commit | 3f80b5713f755394d2d1a3bc3befb0dd82a19f64 (patch) | |
tree | 68f926c927c01eec84d4d5da89f1d228a0b48d24 /regexp.h | |
parent | 52ae8f7ebb1f32bbd4f574c090ff4ae9d6b468c7 (diff) | |
download | perl-3f80b5713f755394d2d1a3bc3befb0dd82a19f64.tar.gz |
regcomp.c: _invlist_subtract() becomes a macro
This function is no longer necessary, as it is just a call to the newly
created _invlist_intersection_maybe_complement_2nd() with the correct
parameters.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -57,6 +57,10 @@ typedef struct regexp_paren_pair { #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C) #define _invlist_intersection(a, b, output) _invlist_intersection_maybe_complement_2nd(a, b, FALSE, output) + +/* Subtracting b from a leaves in a everything that was there that isn't in b, + * that is the intersection of a with b's complement */ +#define _invlist_subtract(a, b, output) _invlist_intersection_maybe_complement_2nd(a, b, TRUE, output) #endif /* |