diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-05-28 23:44:57 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:37:22 +0100 |
commit | 253c7343bbb7dcae208ed9342e76b8a5715ad829 (patch) | |
tree | f068fa2d6bee4a0bf8e7707ce474ae91e2505c91 /gcc/rust/Make-lang.in | |
parent | 74db136a7cf7505691d409e01f757a5b86f119c9 (diff) | |
download | gcc-253c7343bbb7dcae208ed9342e76b8a5715ad829.zip gcc-253c7343bbb7dcae208ed9342e76b8a5715ad829.tar.gz gcc-253c7343bbb7dcae208ed9342e76b8a5715ad829.tar.bz2 |
gccrs: Fix handling of single fragments in repetitions
gcc/rust/ChangeLog:
* expand/rust-macro-substitute-ctx.cc
(SubstituteCtx::check_repetition_amount):
Ignore single fragments while checking repetition amount.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2207.rs: New test.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions