aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-06-07 12:26:37 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:30 +0100
commit0770c239f475ed2ae25d96175019865156db516e (patch)
tree0017cc88888d15f4b646d389a442f249f4dfb850 /gcc/rust/parse/rust-parse-impl.h
parent162aecc7b69d10204be0e92467c58468466d81d5 (diff)
downloadgcc-0770c239f475ed2ae25d96175019865156db516e.zip
gcc-0770c239f475ed2ae25d96175019865156db516e.tar.gz
gcc-0770c239f475ed2ae25d96175019865156db516e.tar.bz2
gccrs: Insert empty repeated metavars for nested repetitions
gcc/rust/ChangeLog: * expand/rust-macro-expand.cc (MacroExpander::match_repetition_skipped_metavars): New. (MacroExpander::match_repetition): Use new method. * expand/rust-macro-expand.h (MacroExpander::match_repetition_skipped_metavars): New. gcc/testsuite/ChangeLog: * rust/compile/macro-issue2268.rs: New test. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions