diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-09 13:06:22 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-10-16 14:40:06 +0000 |
commit | 08396ed5c25851b9a8b340711e4c2a012501f20c (patch) | |
tree | f14bd433e73773c67725383f0c52a162d99602b7 /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | b6a420f645f2cda19607c37c0085067e0e9d8428 (diff) | |
download | gcc-08396ed5c25851b9a8b340711e4c2a012501f20c.zip gcc-08396ed5c25851b9a8b340711e4c2a012501f20c.tar.gz gcc-08396ed5c25851b9a8b340711e4c2a012501f20c.tar.bz2 |
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/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions