aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast-dump.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-22 14:39:34 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:28:40 +0100
commit06dcc5fdf4d72e4c43beb1a2eb3376c4e252e1f4 (patch)
treeb2ac7f6447dda912e072269401ede023458c1f46 /gcc/rust/ast/rust-ast-dump.h
parenta67e0b3efd412aa38fc286210fc32f924800cceb (diff)
downloadgcc-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