diff options
author | Lewis Hyatt <lhyatt@gmail.com> | 2019-12-11 14:52:31 +0000 |
---|---|---|
committer | Lewis Hyatt <lhyatt@gcc.gnu.org> | 2019-12-11 14:52:31 +0000 |
commit | ddd0fd173a12111f9cb6747d7714b976f870c70b (patch) | |
tree | 8d32b41f3680899710d7acc75390cb28dd9cf351 /gcc/cp/method.c | |
parent | 0dc4e690ce92e2ee4e97ab430d6fb063dd3f4a22 (diff) | |
download | gcc-ddd0fd173a12111f9cb6747d7714b976f870c70b.zip gcc-ddd0fd173a12111f9cb6747d7714b976f870c70b.tar.gz gcc-ddd0fd173a12111f9cb6747d7714b976f870c70b.tar.bz2 |
Adds multibyte awareness to pretty-print.c
2019-12-11 Lewis Hyatt <lhyatt@gmail.com>
PR 91853
* pretty-print.c (pp_quoted_string): Avoid hex-escaping valid
multibyte input. Fix off-by-one-bug printing the last byte before a
hex-escaped output.
(pp_character): Don't apply line wrapping in the middle of multibyte
characters.
(test_utf8): New test.
(pretty_print_c_tests): Call the new test.
From-SVN: r279226
Diffstat (limited to 'gcc/cp/method.c')
0 files changed, 0 insertions, 0 deletions