This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Add conversion macros and use them
authorKarl Williamson <khw@cpan.org>
Mon, 17 Sep 2018 04:35:48 +0000 (22:35 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 20 Oct 2018 06:09:54 +0000 (00:09 -0600)
commit1a322bb4a0702dc7a65e153ae1ebd65db13fb33c
treef1df78636a32f510e590066488b17a822ce715c5
parentd7c442ce90b92efae35f6d51aba3dd5e9ab8a808
regcomp.c: Add conversion macros and use them

This adds macros that hide the details in finding the regnode address
from the offset from the beginning of the pattern's program, and vice
versa.
regcomp.c