diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-09 13:06:22 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:09:11 +0100 |
commit | 80199b328cbc7efedf0d88a8cdceccedd1b6c355 (patch) | |
tree | 5030ca504b136164472d99ca5088c3766d0043c7 /gcc/rust/hir/tree/rust-hir-expr.h | |
parent | 44f71ed313d03e129dcb9d34720425245a384050 (diff) | |
download | gcc-80199b328cbc7efedf0d88a8cdceccedd1b6c355.zip gcc-80199b328cbc7efedf0d88a8cdceccedd1b6c355.tar.gz gcc-80199b328cbc7efedf0d88a8cdceccedd1b6c355.tar.bz2 |
gccrs: Change debug log call to as_string function
This will ensure an accurate representation of the token. Also update the
as_string function to represent accurately scope resolution tokens.
gcc/rust/ChangeLog:
* lex/rust-token.cc (Token::as_string): Update function to output scope
resolution tokens correctly.
* parse/rust-parse-impl.h (Parser::parse_generic_param): Change call to
as_string.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions