This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor common parts of op.h, regexp.h into new .h
authorKarl Williamson <khw@khw-desktop.(none)>
Tue, 20 Jul 2010 04:26:43 +0000 (22:26 -0600)
committerRafael Garcia-Suarez <rgs@consttype.org>
Thu, 29 Jul 2010 10:10:18 +0000 (12:10 +0200)
commit1850c8f94216e3e6bf08ca1f3121b4a91d01d1bf
tree3ca0eb84849e8b79f73a6ba5a5ad48c657386295
parente32a881648677e322dff2b672a89f19c7d31b263
Refactor common parts of op.h, regexp.h into new .h

op.h and regexp.h share common elements in their data structures.  They
have had to manually be kept in sync.  This patch makes it easier by
putting those common parts into a common header #included by the two.

To do this, it seemed easiest to change the symbol definitions to use
left shifts to generate the flag bits.  But this meant that regcomp.pl
and axt/B/defsubs_h.PL had to be taught to recognize those forms of
expressions, done in separate commits
MANIFEST
ext/B/defsubs_h.PL
op.h
op_reg_common.h [new file with mode: 0644]
regcomp.pl
regexp.h