public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1054
@ 2022-06-08 12:23 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:23 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3a90596517a785aa7832198a9f400f519d3420da
commit 3a90596517a785aa7832198a9f400f519d3420da
Merge: 8283724bc24 d859ab0146c
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Thu Mar 24 15:58:07 2022 +0000
Merge #1054
1054: Fix overzealous follow set ambiguity r=CohenArthur a=CohenArthur
When checking if a follow-up is valid, we previously always returned
false when comparing with MacroMatchRepetitions. This is however
invalid, as we should be comparing with the first match of the
repetition to be sure.
Closes #1053
Addresses #947
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/parse/rust-parse.cc | 53 +++++++++++++------------
gcc/testsuite/rust/compile/macro-issue1053-2.rs | 5 +++
gcc/testsuite/rust/compile/macro-issue1053.rs | 3 ++
gcc/testsuite/rust/compile/macro28.rs | 2 +-
4 files changed, 36 insertions(+), 27 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:23 [gcc/devel/rust/master] Merge #1054 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).