diff options
author | David Mitchell <davem@iabyn.com> | 2012-05-16 10:06:30 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-06-13 13:32:53 +0100 |
commit | 1ca2007ef74b65c3595a4c1d7d4b8500e2585721 (patch) | |
tree | ff9710f4c72f4c0673070e82ca81d249f2609cf2 /regexp.h | |
parent | b3fd53f35858a4ca5c7226ba0fa5a9e864378c38 (diff) | |
download | perl-1ca2007ef74b65c3595a4c1d7d4b8500e2585721.tar.gz |
make regexp_paren_pair.start_tmp an offset
Currently the start_tmp field is a pointer into the string, whereas the
the start and end fields are offsets within that string. Make start_tmp
an offset too for consistency.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ typedef struct regexp_paren_pair { * "abc" =~ /(.(?{print "[$1]"}))+/ *outputs [][a][b] * This field is not part of the API. */ - char *start_tmp; + I32 start_tmp; } regexp_paren_pair; #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C) |