diff options
author | Karl Williamson <khw@cpan.org> | 2014-11-25 12:18:42 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-11-26 09:18:33 -0700 |
commit | 9f10db87f54f2a85594e3661927a9b6128c1f425 (patch) | |
tree | fbb32d9c0629ccea6b57538b401f577288b4b35f /toke.c | |
parent | 09902b1fc2af1bca16bf40b6f6dd1e420562d9e2 (diff) | |
download | perl-9f10db87f54f2a85594e3661927a9b6128c1f425.tar.gz |
Change core to use is_invariant_string()
is_ascii_string's name has misled me in the past; the new name is
clearer.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1968,7 +1968,7 @@ S_newSV_maybe_utf8(pTHX_ const char *const start, STRLEN len) SV * const sv = newSVpvn_utf8(start, len, !IN_BYTES && UTF - && !is_ascii_string((const U8*)start, len) + && !is_invariant_string((const U8*)start, len) && is_utf8_string((const U8*)start, len)); return sv; } |