diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-07-31 22:16:34 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-08-11 10:23:35 +0200 |
commit | 5b126c844328624724495878ae8a120ab1a2e906 (patch) | |
tree | cf924ad9e42ec779e8445914b914391c79e581f8 /op.h | |
parent | c18d5d15604b0d942b838c422e15b2518f56c77b (diff) | |
download | perl-5b126c844328624724495878ae8a120ab1a2e906.tar.gz |
op_reg_common.h: Continue refactoring
The new op_reg_common.h did not have in it all the things that made
sense for it to have, including some comment changes that I should have
made when I created it.
I also realized the the new mechanism of using shifts allowed
RXf_PMf_STD_PMMOD_SHIFT to actually control things, rather than be a
#define that one had to remember to change if those things changed
independently.
Finally, I created a check so that adding bits without adding them to
RXf_PMf_COMPILETIME will force a compilation error. (This came from the
school of hard knocks)
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -396,9 +396,6 @@ struct pmop { # error Too many PMf_ bits used. See above and regnodes.h for any spare in middle #endif -/* mask of bits that need to be transfered to re->extflags */ -#define PMf_COMPILETIME (PMf_MULTILINE|PMf_SINGLELINE|PMf_LOCALE|PMf_FOLD|PMf_EXTENDED|PMf_KEEPCOPY) - #ifdef USE_ITHREADS # define PmopSTASHPV(o) \ |