diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-07-06 14:44:32 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-07-16 13:58:08 -0600 |
commit | 5eb114cff44a7920ae194ed22b1af045e54f96d4 (patch) | |
tree | 7b3abc12eba70aabe3c762b957541a8e86be5ae6 /inline_invlist.c | |
parent | 38359fe70698c7a16c7ea58aee87481293a555b3 (diff) | |
download | perl-5eb114cff44a7920ae194ed22b1af045e54f96d4.tar.gz |
Reinstate "regcomp.c: Move inversion list hdr field to SV hdr"
This reverts commit 2eb2feb9f4a226d0fe0fd3d66e2ce341296f0072, which
reverted d913fb457b732da4c31d0d1b8c085989a7ecd12d, thus reinstating the
latter commit. It turns out that the error being chased down was not
due to this commit.
Its original message was:
This moves the final field that can vary from the inversion list data
structure into the header of the SV that contains it. With this commit,
the body of an inversion list is now const.
The field is converted to a U8, to correspond with the header field in
the SV type that we currently use to hold inversion lists.
Diffstat (limited to 'inline_invlist.c')
-rw-r--r-- | inline_invlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inline_invlist.c b/inline_invlist.c index 21d628205c..936a298be5 100644 --- a/inline_invlist.c +++ b/inline_invlist.c @@ -29,7 +29,7 @@ /* For safety, when adding new elements, remember to #undef them at the end of * the inversion list code section */ -#define HEADER_LENGTH (INVLIST_OFFSET_OFFSET + 2) /* includes 1 for the constant +#define HEADER_LENGTH (INVLIST_OFFSET_OFFSET + 1) /* includes 1 for the constant 0 element */ /* An element is in an inversion list iff its index is even numbered: 0, 2, 4, |