aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.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>2023-03-30 16:48:26 +0200
commit439c05ae3a8563a49cdf292f1ca0a84c0b43eb58 (patch)
tree653f391677ed67579eeaaa6cbbc1f85f917ae833 /gcc/rust/ast/rust-expr.h
parentf0ed95a8b9758e172e5e3e945a393b6295037507 (diff)
downloadgcc-439c05ae3a8563a49cdf292f1ca0a84c0b43eb58.zip
gcc-439c05ae3a8563a49cdf292f1ca0a84c0b43eb58.tar.gz
gcc-439c05ae3a8563a49cdf292f1ca0a84c0b43eb58.tar.bz2
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-expr.h')
0 files changed, 0 insertions, 0 deletions