aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-04-04 11:24:44 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-04-05 08:09:09 +0000
commit75ec5f4f4879b96afcf6eec70dad81b9c59d4172 (patch)
tree1231d2b8dc3f39ce618fa47ef3c671a492127ef8 /gcc/rust/backend/rust-compile-struct-field-expr.cc
parentf749a7fa0b411b6d71e81ff5a95c3bad54eca09b (diff)
downloadgcc-75ec5f4f4879b96afcf6eec70dad81b9c59d4172.zip
gcc-75ec5f4f4879b96afcf6eec70dad81b9c59d4172.tar.gz
gcc-75ec5f4f4879b96afcf6eec70dad81b9c59d4172.tar.bz2
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/backend/rust-compile-struct-field-expr.cc')
0 files changed, 0 insertions, 0 deletions