]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast: Fix inner attribute tokenstream
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 11 Apr 2023 16:11:09 +0000 (18:11 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:28:46 +0000 (18:28 +0100)
commit5444ed27a8139d5d584859321a88cadaafdb1cb0
tree45db40a7dfe83e16e660d7dc401053478066de71
parentcd773704975f399a8c736a84509dfe2e106412a7
gccrs: ast: Fix inner attribute tokenstream

Inner attribute did not output exclamation tokens as there was no way to
differentiate inner from outer attributes previously.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (TokenStream::visit): Fix inner
attribute tokenstream output.

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