summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-05 22:33:12 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-05 22:33:12 +0000
commitd2f13c598f9812cd520097e22d819d1b9f7b0cb6 (patch)
tree51c2739d4fe37c20fc90e087816461a35cf48e5a /sv.h
parent62a1a1efb41483ae8589f3158be0ce9a1c21e8e2 (diff)
downloadperl-d2f13c598f9812cd520097e22d819d1b9f7b0cb6.tar.gz
Make REGEXP a type distinct from SV. (Much like AV, CV, GV, HV).
p4raw-id: //depot/perl@32861
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index ea5e0aecc8..ed253839fd 100644
--- a/sv.h
+++ b/sv.h
@@ -150,6 +150,11 @@ struct io {
_SV_HEAD_UNION;
};
+struct p5rx {
+ _SV_HEAD(struct regexp*); /* pointer to regexp body */
+ _SV_HEAD_UNION;
+};
+
#undef _SV_HEAD
#undef _SV_HEAD_UNION /* ensure no pollution */