[Bug rust/23427] implement raw identifiers
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri Jun 11 14:24:58 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=23427
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=48ec4c05c68bfec4b79e95807bd82e0df4634a6c
commit 48ec4c05c68bfec4b79e95807bd82e0df4634a6c
Author: Tom Tromey <tom@tromey.com>
Date: Fri Jun 11 08:14:09 2021 -0600
Implement Rust raw identifiers
This patch implements Rust raw identifiers in the lexer in gdb. There
was an earlier patch to do this, but the contributor didn't reply to
my email asking whether he had sorted out his copyright assignment.
This is relatively straightforward, but a small test suite addition
was needd to ensure that the new test is skipped on older versions of
rustc -- ones that predate the introduction of raw identifiers.
gdb/ChangeLog
2021-06-11 Tom Tromey <tom@tromey.com>
PR rust/23427
* rust-parse.c (rust_parser::lex_identifier): Handle raw
identifiers.
(rust_lex_tests): Add raw identifier tests.
gdb/testsuite/ChangeLog
2021-06-11 Tom Tromey <tom@tromey.com>
PR rust/23427
* lib/rust-support.exp (rust_compiler_version): New caching proc.
* gdb.rust/rawids.exp: New file.
* gdb.rust/rawids.rs: New file.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list