diff options
author | Karl Williamson <khw@cpan.org> | 2019-04-06 12:29:07 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-04-10 09:14:22 -0600 |
commit | f66d79a78297dbaacfbed2494502bffbba564f8e (patch) | |
tree | 1db6f38e152ba787596b1030b09ef5c3b4505c0a /toke.c | |
parent | 3fb2d8201ab53c5527725c33b85176ee4f51358f (diff) | |
download | perl-f66d79a78297dbaacfbed2494502bffbba564f8e.tar.gz |
toke.c: Use local variable instead of global
These two lines used a PL_ variable, whereas every other use in this
function is a local copy of it. Change for consistency.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3534,7 +3534,7 @@ S_scan_const(pTHX_ char *start) { const char* error; - bool valid = grok_bslash_o(&s, PL_bufend, + bool valid = grok_bslash_o(&s, send, &uv, &error, TRUE, /* Output warning */ FALSE, /* Not strict */ @@ -3553,7 +3553,7 @@ S_scan_const(pTHX_ char *start) { const char* error; - bool valid = grok_bslash_x(&s, PL_bufend, + bool valid = grok_bslash_x(&s, send, &uv, &error, TRUE, /* Output warning */ FALSE, /* Not strict */ |