In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/12e1fa63201ac1c5e2c5ecb94649c3ac6af7b057?hp=d6c970c7e66d6f55dba7f13549143a2f4ba641c7>
- Log ----------------------------------------------------------------- commit 12e1fa63201ac1c5e2c5ecb94649c3ac6af7b057 Author: James E Keenan <[email protected]> Date: Fri Jan 6 07:48:21 2017 -0500 Removed unused CHR_DIST macro from a second file (RT 130519). M regcomp.c commit fca54fd6f66b9ef09b08370f19c6b709b5c2b89c Author: Andy Lester <[email protected]> Date: Sat Nov 26 22:46:13 2016 -0600 Removed unused CHR_DIST macros M regexec.c ----------------------------------------------------------------------- Summary of changes: regcomp.c | 1 - regexec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/regcomp.c b/regcomp.c index 7b312952de..dc94b39cba 100644 --- a/regcomp.c +++ b/regcomp.c @@ -556,7 +556,6 @@ static const scan_data_t zero_scan_data = #define OOB_UNICODE 0xDEADBEEF #define CHR_SVLEN(sv) (UTF ? sv_len_utf8(sv) : SvCUR(sv)) -#define CHR_DIST(a,b) (UTF ? utf8_distance(a,b) : a - b) /* length of regex to show in messages that don't mark a position within */ diff --git a/regexec.c b/regexec.c index 0b5c847f1c..056a993945 100644 --- a/regexec.c +++ b/regexec.c @@ -119,7 +119,6 @@ static const char* const non_utf8_target_but_utf8_required */ #define CHR_SVLEN(sv) (utf8_target ? sv_len_utf8(sv) : SvCUR(sv)) -#define CHR_DIST(a,b) (reginfo->is_utf8_target ? utf8_distance(a,b) : a - b) #define HOPc(pos,off) \ (char *)(reginfo->is_utf8_target \ -- Perl5 Master Repository
