diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-07-06 15:33:57 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-07-16 13:58:09 -0600 |
commit | d361b00481905de183664c6b0d414fd509a0e68f (patch) | |
tree | 736bd60517eb512255a5628833960f67a3d70bd1 /sv.h | |
parent | e94d9b54a21e9546724df09abe1968bd32f833cf (diff) | |
download | perl-d361b00481905de183664c6b0d414fd509a0e68f.tar.gz |
Reinstate "Use new Svt_INVLIST for inversion lists."
This reverts commit 2e0b8fbeab3502bee36f25825c3cdd0d075c4fd3, which
reverted e0ce103ae532f9576f54a5938a24d1ee98dfb928, 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 converts inversion lists to use their own scalar type.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -528,6 +528,14 @@ struct xpvlv { char xlv_flags; /* 1 = negative offset 2 = negative len */ }; +struct xpvinvlist { + _XPV_HEAD; + IV prev_index; + STRLEN iterator; + STRLEN count; + bool is_offset; /* */ +}; + /* This structure works in 3 ways - regular scalar, GV with GP, or fast Boyer-Moore. */ struct xpvgv { |