diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-04-27 11:01:32 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:37:16 +0100 |
commit | 5c8941ffd6025f713913bf8564308383c9f3b093 (patch) | |
tree | 52d7709ad171e54887a404eab7bcae95729242d5 /gcc/rust/Make-lang.in | |
parent | 0a0006806086f9c5b68dc82253ebbf5fe264330e (diff) | |
download | gcc-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