diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-22 14:39:34 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:40 +0100 |
commit | 06dcc5fdf4d72e4c43beb1a2eb3376c4e252e1f4 (patch) | |
tree | b2ac7f6447dda912e072269401ede023458c1f46 /gcc/rust/ast/rust-ast-dump.h | |
parent | a67e0b3efd412aa38fc286210fc32f924800cceb (diff) | |
download | gcc-06dcc5fdf4d72e4c43beb1a2eb3376c4e252e1f4.zip gcc-06dcc5fdf4d72e4c43beb1a2eb3376c4e252e1f4.tar.gz gcc-06dcc5fdf4d72e4c43beb1a2eb3376c4e252e1f4.tar.bz2 |
gccrs: ast: Add trailing comma formatting option
Add an option to output trailing commas depending on the configuration
of the TokenStream.
gcc/rust/ChangeLog:
* ast/rust-ast-tokenstream.cc (TokenStream::trailing_comma):
Output a trailing comma to the token stream according to the
configuration.
* ast/rust-ast-tokenstream.h: Add function prototype.
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