]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast: Fix scope separator in tokenstreams
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 17 Apr 2023 16:27:24 +0000 (18:27 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:34:09 +0000 (18:34 +0100)
commitc353758f7e7152898315b0f9a3329d464fa82a1c
tree3ac682fa4cba90fcce3b94b3d341ac1dbb96900f
parenta091ce015fb257d40905e8ca9e62b285c53fcca5
gccrs: ast: Fix scope separator in tokenstreams

Qualified types had a simple colon output instead of full scope
resolution tokens in QualifiedPathInTypes.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (TokenStream::visit): Fix scope
resolution token output.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-tokenstream.cc