Small step for mankind :)
These two macros will let us abstract away where the PMOP keeps its regexp.
Then later we can redefine them on USEITHREADS.
--- op.h.old Thu Jun 21 13:11:55 2001
+++ op.h Thu Jun 21 13:16:18 2001
@@ -245,6 +245,9 @@
#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 */