This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move _get_regclass_nonbitmap_data() to regcomp.c
authorKarl Williamson <khw@cpan.org>
Fri, 1 Aug 2014 15:09:41 +0000 (09:09 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 21 Aug 2014 20:49:46 +0000 (14:49 -0600)
commit19c737e5af66f24d1299ec9cc96c7a895a07a4e6
tree3d3a0160a5ab24003254aacd50e66f0464fc42cb
parentdcb20b364cef1eec53dfee5ed1078aa04ef59ed8
Move _get_regclass_nonbitmap_data() to regcomp.c

This function, though mostly used by regexec.c and previously contained
therein, relies on the particular data structure in regcomp.c, so it
makes sense to move it adjacent to the code that generates the
structure.  Future commits will add function calls to this function that
are (currently) only in regcomp.c, and so will tie it tighter to that
file.

This just moves the code with surrounding #ifdef, adds a couple of blank
lines, removes some trailing white space, and adjusts the comments.  No
other changes were made.
regcomp.c
regexec.c