aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-04-27 11:01:32 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:37:16 +0100
commit5c8941ffd6025f713913bf8564308383c9f3b093 (patch)
tree52d7709ad171e54887a404eab7bcae95729242d5 /gcc/rust/Make-lang.in
parent0a0006806086f9c5b68dc82253ebbf5fe264330e (diff)
downloadgcc-5c8941ffd6025f713913bf8564308383c9f3b093.zip
gcc-5c8941ffd6025f713913bf8564308383c9f3b093.tar.gz
gcc-5c8941ffd6025f713913bf8564308383c9f3b093.tar.bz2
gccrs: tokenstream: Convert group markers
Add conversion for group delimiters. gcc/rust/ChangeLog: * ast/rust-ast-tokenstream.cc (pop_group): Add a function to easily collect a group from a given stack at the end of it. (TokenStream::collect): Collect tokens as a rust compatible Tokenstream type. * ast/rust-ast-tokenstream.h (RUST_AST_TOKENSTREAM_H): Move includes to stay constrained by guards. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions