This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Chg invlist_union() to accept NULL first param
authorKarl Williamson <public@khwilliamson.com>
Thu, 12 Jan 2012 18:09:39 +0000 (11:09 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 9 Feb 2012 17:13:53 +0000 (10:13 -0700)
commitf45adb7919ea18d4d76c6cffaf31c1d90a103a48
treedfba01a01b9a931a9836c1e7ce72f3235290e190
parent080d4cd33c54d1513da5714055bbc43ff4e3841d
regcomp.c: Chg invlist_union() to accept NULL first param

It is common in a loop to keep adding inversion lists to a current
running total.  But the first time through, the current union list needs
to be initialized from NULL.  This puts that code in the function
instead of the callers each having to do it.
embed.fnc
proto.h
regcomp.c