aboutsummaryrefslogtreecommitdiff
path: root/gcc/data-streamer-in.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-05-21 23:36:36 +0200
committerMarc Poulhiès <dkm@kataplop.net>2021-05-23 16:21:05 +0200
commit5467ac12d7bfd204cd4f1712ecefcbb9bcab6af8 (patch)
tree59a6832709427ef6a721c212051cd26cb8eaec5a /gcc/data-streamer-in.c
parent99b73780e6e30f962c01532d3ec189ceeecf7f93 (diff)
downloadgcc-5467ac12d7bfd204cd4f1712ecefcbb9bcab6af8.zip
gcc-5467ac12d7bfd204cd4f1712ecefcbb9bcab6af8.tar.gz
gcc-5467ac12d7bfd204cd4f1712ecefcbb9bcab6af8.tar.bz2
Fix raw identifier parsing.
Lexer::parse_raw_identifier added the first character twice. Adds tests for a simple raw identifier, a keyword as raw identifier and xfail tests for a single underscore and forbidden keyword (crate) as raw identifier. To help error diagnostics continue after parse_raw_identifier failed in Lexer::build_token. Fixes: https://github.com/Rust-GCC/gccrs/issues/426
Diffstat (limited to 'gcc/data-streamer-in.c')
0 files changed, 0 insertions, 0 deletions