summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-06-21 16:04:54 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-21 12:09:28 +0000
commit4825b64b32ac191cfa4c7a0c7bd56e2acb567a0b (patch)
tree3df24adddb4be81975c0da2c139f0abf5ae40cdf /op.h
parent832365561240eb07aaddce15adf009487776d2f0 (diff)
downloadperl-4825b64b32ac191cfa4c7a0c7bd56e2acb567a0b.tar.gz
Re: [PATCH] Step 1 of moving regexps to the pad
Message-ID: <B757AF86.1842%artur@contiller.se> p4raw-id: //depot/perl@10770
Diffstat (limited to 'op.h')
-rw-r--r--op.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/op.h b/op.h
index b8fc2875ad..6c88fa5815 100644
--- a/op.h
+++ b/op.h
@@ -245,6 +245,9 @@ struct pmop {
#endif
};
+#define PM_GETRE(o) o->pmregexp
+#define PM_SETRE(o,r) o->pmregexp = r
+
#define PMdf_USED 0x01 /* pm has been used once already */
#define PMdf_TAINTED 0x02 /* pm compiled from tainted pattern */
#define PMdf_UTF8 0x04 /* pm compiled from utf8 data */