summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-07-06 15:33:57 -0600
committerKarl Williamson <public@khwilliamson.com>2013-07-16 13:58:09 -0600
commitd361b00481905de183664c6b0d414fd509a0e68f (patch)
tree736bd60517eb512255a5628833960f67a3d70bd1 /sv.h
parente94d9b54a21e9546724df09abe1968bd32f833cf (diff)
downloadperl-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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 0205f5866e..a891ce9495 100644
--- a/sv.h
+++ b/sv.h
@@ -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 {