diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-03 11:40:34 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-09 10:13:55 -0700 |
commit | 164173a25b2f985f00a4cb2ce75ac3918aef2e02 (patch) | |
tree | 601cd7714c92cac49e1a92d2456d945b8f2b3abc /embed.fnc | |
parent | 3f80b5713f755394d2d1a3bc3befb0dd82a19f64 (diff) | |
download | perl-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.fnc')
-rw-r--r-- | embed.fnc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1378,7 +1378,8 @@ EsMR |IV |invlist_search |NN SV* const invlist|const UV cp #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C) EXmM |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i EXpM |void |_invlist_intersection_maybe_complement_2nd|NULLOK SV* const a|NN SV* const b|bool complement_b|NN SV** i -EXpM |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output +EXmM |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output +EXpM |void |_invlist_union_maybe_complement_2nd|NULLOK SV* const a|NN SV* const b|bool complement_b|NN SV** output EXmM |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result EXpM |void |_invlist_invert|NN SV* const invlist EXpM |void |_invlist_invert_prop|NN SV* const invlist |