aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-09-29 22:03:34 +0200
committerMark Wielaard <mark@klomp.org>2021-09-29 22:03:34 +0200
commite6e1cc117e1f08dfde86f5a3b1988e4b7206a7da (patch)
tree9e968a66f2c66220cc220a471861c416f162dc40 /gcc/rust/parse/rust-parse-impl.h
parent28f527c9598339cf834a30b5ee1f14258b8ecbb2 (diff)
downloadgcc-e6e1cc117e1f08dfde86f5a3b1988e4b7206a7da.zip
gcc-e6e1cc117e1f08dfde86f5a3b1988e4b7206a7da.tar.gz
gcc-e6e1cc117e1f08dfde86f5a3b1988e4b7206a7da.tar.bz2
Fix raw byte string parsing of zero and out of range bytes
Allow \0 escape in raw byte string and reject non-ascii byte values. Change parse_partial_hex_escapes to not skip bad characters to provide better error messages. Add rawbytestring.rs testcase to check string, raw string, byte string and raw byte string parsing.
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions