summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-06-21 16:27:33 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-21 12:12:23 +0000
commitb9ed2502f7fb85631d53499f8ee2a0d0c0bede1c (patch)
tree714e774a64847e32865a0743c49baed1093cfc8b /op.h
parent8673f78cbbb777f3c83e7fad05d5b4d4d388e4be (diff)
downloadperl-b9ed2502f7fb85631d53499f8ee2a0d0c0bede1c.tar.gz
Re: [PATCH] Step 1 of moving regexps to the pad
Message-ID: <B757B4D4.1849%artur@contiller.se> Plus extra parentheses. p4raw-id: //depot/perl@10772
Diffstat (limited to 'op.h')
-rw-r--r--op.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/op.h b/op.h
index 6c88fa5815..490b0fa8f6 100644
--- a/op.h
+++ b/op.h
@@ -245,8 +245,8 @@ struct pmop {
#endif
};
-#define PM_GETRE(o) o->pmregexp
-#define PM_SETRE(o,r) o->pmregexp = r
+#define PM_GETRE(o) ((o)->op_pmregexp)
+#define PM_SETRE(o,r) ((o)->op_pmregexp = (r))
#define PMdf_USED 0x01 /* pm has been used once already */
#define PMdf_TAINTED 0x02 /* pm compiled from tainted pattern */