diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-04-04 11:24:44 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:43 +0100 |
commit | e2b0bc4a02379b93175d266306ebfa7900a84766 (patch) | |
tree | 1e7f392436d6995d2a6129f7309ac10574e5dced /gcc/rust/ast/rust-ast-dump.h | |
parent | 721bc1b926bbcd019bfdc19b626b3db45e8b01c5 (diff) | |
download | gcc-e2b0bc4a02379b93175d266306ebfa7900a84766.zip gcc-e2b0bc4a02379b93175d266306ebfa7900a84766.tar.gz gcc-e2b0bc4a02379b93175d266306ebfa7900a84766.tar.bz2 |
gccrs: ast: Fix tokenstream extern block statements
The visitor created some additional semicolon between statements in
extern blocks, this lead to empty statement.
gcc/rust/ChangeLog:
* ast/rust-ast-tokenstream.cc (TokenStream::visit): Remove
additional semicolon output.
* ast/rust-ast-tokenstream.h: Change block visitor prototype
with a default value for trailing tokens.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast-dump.h')
0 files changed, 0 insertions, 0 deletions