This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Add ability to have compiled-in inversion lists
authorKarl Williamson <public@khwilliamson.com>
Sat, 7 Jan 2012 19:34:02 +0000 (12:34 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 9 Feb 2012 17:13:56 +0000 (10:13 -0700)
commitf59ff1943250231e4a9af32ff93e52cdfba13134
treead6a10da562db45b3d7acd73a9a4960f020e42d0
parent851131d3e04cc3e811d1777d97e35d66192b9ff7
regcomp.c: Add ability to have compiled-in inversion lists

This adds a routine that will take a C array and quickly create an
inversion list that points to that array.  Thus the array had better be
exactly the internal form that is required for an inversion list.  To
make sure that this doesn't get out of sync, a new field in the list's
header is created that is a combination of
version-number/inversion-list-type.
embed.fnc
embed.h
proto.h
regcomp.c