diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-04-08 14:41:16 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-04-14 18:23:54 +0200 |
commit | cb23182fa2b9b06acbd82993be57f3dc47cc62eb (patch) | |
tree | 83897657d14d6c8eec5836d3cd05b6f1f27d0cd1 /libjava/java/util | |
parent | 76477f965552b5872bb14255f272bff78978ef0c (diff) | |
download | gcc-cb23182fa2b9b06acbd82993be57f3dc47cc62eb.zip gcc-cb23182fa2b9b06acbd82993be57f3dc47cc62eb.tar.gz gcc-cb23182fa2b9b06acbd82993be57f3dc47cc62eb.tar.bz2 |
gccrs: expansion: Only add fragments if the matcher succeeded
gcc/rust/ChangeLog:
* expand/rust-macro-expand.cc (MacroExpander::match_n_matches): Do not
insert fragments and substack fragments if the matcher failed.
gcc/testsuite/ChangeLog:
* rust/compile/macros/mbe/macro-issue3708.rs: New test.
Diffstat (limited to 'libjava/java/util')
0 files changed, 0 insertions, 0 deletions