This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8673f78
)
Re: [PATCH] Step 1 of moving regexps to the pad
author
Artur Bergman
<sky@nanisky.com>
Thu, 21 Jun 2001 14:27:33 +0000
(16:27 +0200)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 21 Jun 2001 12:12:23 +0000
(12:12 +0000)
Message-ID: <
B757B4D4
.1849%artur@contiller.se>
Plus extra parentheses.
p4raw-id: //depot/perl@10772
op.h
patch
|
blob
|
blame
|
history
diff --git
a/op.h
b/op.h
index
6c88fa5
..
490b0fa
100644
(file)
--- 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 */