summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-02-03 11:40:34 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-09 10:13:55 -0700
commit164173a25b2f985f00a4cb2ce75ac3918aef2e02 (patch)
tree601cd7714c92cac49e1a92d2456d945b8f2b3abc /embed.h
parent3f80b5713f755394d2d1a3bc3befb0dd82a19f64 (diff)
downloadperl-164173a25b2f985f00a4cb2ce75ac3918aef2e02.tar.gz
regcomp.c: Add ability to take union of a complement
Previous commits have added the ability to the inversion list intersection routine to take the complement of one of its inputs. Likewise, for unions, this will be a frequent paradigm, and it is cheaper to do the complement of an input in the routine than to construct a new temporary that is the desired complement, and throw it away.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 7d4313fa1d..e41be49e03 100644
--- a/embed.h
+++ b/embed.h
@@ -953,7 +953,7 @@
#define _invlist_invert(a) Perl__invlist_invert(aTHX_ a)
#define _invlist_invert_prop(a) Perl__invlist_invert_prop(aTHX_ a)
#define _invlist_populate_swatch(a,b,c,d) Perl__invlist_populate_swatch(aTHX_ a,b,c,d)
-#define _invlist_union(a,b,c) Perl__invlist_union(aTHX_ a,b,c)
+#define _invlist_union_maybe_complement_2nd(a,b,c,d) Perl__invlist_union_maybe_complement_2nd(aTHX_ a,b,c,d)
#define _new_invlist(a) Perl__new_invlist(aTHX_ a)
#define _swash_inversion_hash(a) Perl__swash_inversion_hash(aTHX_ a)
#define _swash_to_invlist(a) Perl__swash_to_invlist(aTHX_ a)