diff options
author | Karl Williamson <khw@cpan.org> | 2014-12-06 16:06:49 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-12-09 11:43:32 -0700 |
commit | 239f83d5b3d443f78d6f2c12df7ff685f9bb7e65 (patch) | |
tree | 0ae16bba4c51abddc4a0b2d99227434d20bbdd6e /toke.c | |
parent | c536450b09fc53d9fd03b72f6cbd62c89d4fd30f (diff) | |
download | perl-239f83d5b3d443f78d6f2c12df7ff685f9bb7e65.tar.gz |
toke.c: Generalize trace for non-ASCII platform
This was very ASCII-specific. The newer is clearer and saves a test.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -399,7 +399,7 @@ S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp) } if (name) Perl_sv_catpv(aTHX_ report, name); - else if ((char)rv > ' ' && (char)rv <= '~') + else if (isGRAPH(rv)) { Perl_sv_catpvf(aTHX_ report, "'%c'", (char)rv); if ((char)rv == 'p') |