develooper Front page | perl.perl5.porters | Postings from July 2010

[perl #76810] [PATCH]: reorder bits to prepare for regex modifiers

Thread Next
From:
karl williamson
Date:
July 29, 2010 10:24
Subject:
[perl #76810] [PATCH]: reorder bits to prepare for regex modifiers
Message ID:
rt-3.6.HEAD-11314-1280424240-1064.76810-75-0@perl.org
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #76810]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76810 >


make regen needed; breaks binary compatibility.

This series of commits reorders the bit fields in re extflags and 
op_pmflags, so that all the unused bits are at the boundary of the 
shared and non-shared portions of those structures.  This will allow 
easier allocation in the future to either portion without having to 
reorder things again, and thus being able to allocate new bits without 
breaking binary compatibility.

I also changed things so that there is a single point of coupling in 
each of op.h and regexp.h with op_reg_common.h.  This allows for fewer 
source changes in the future when bits are allocated.

I wasn't sure if perldelta now needs to be explicit about changing 
binary compatibility, so created a patch to do that.  This certainly can 
be skipped if it is unnecessary.

Also pushed to git://github.com/khwilliamson/perl.git
branch match_sw

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About