Re: [PATCH] Fix raw byte string parsing of zero and out of range bytes

2021-09-30 Thread Philip Herron
Hi Mark, This looks good and it is currently being merged: https://github.com/Rust-GCC/gccrs/pull/695, I will catch up with your other patches through the day. Thanks --Phil On Wed, 29 Sept 2021 at 21:35, Mark Wielaard wrote: > Allow \0 escape in raw byte string and reject non-ascii byte > va

[PATCH] Fix raw byte string parsing of zero and out of range bytes

2021-09-29 Thread Mark Wielaard
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. --- https://code.wildebeest.org/gi