diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-03-06 21:24:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 21:24:24 +0000 |
commit | b82408fd6a17762fcb6fc7b5efe9307a3e59f8b7 (patch) | |
tree | d1b65b146861961f38d1e292407610e3a435fbc0 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | e2bccf43ed1bf33d5f454eab39a7a4a1f115b0bd (diff) | |
parent | 82fc107e3d1929ec41135353d62a11c42979f831 (diff) | |
download | gcc-b82408fd6a17762fcb6fc7b5efe9307a3e59f8b7.zip gcc-b82408fd6a17762fcb6fc7b5efe9307a3e59f8b7.tar.gz gcc-b82408fd6a17762fcb6fc7b5efe9307a3e59f8b7.tar.bz2 |
Merge #986
986: Fix ICE on recursive macro invocation r=CohenArthur a=CohenArthur
Closes #982
We can now do fancy lispy things!
```rust
macro_rules! add {
($e:literal) => {
0 + $e
};
($e:literal $($es:literal)*) => {
$e + add!($($es)*)
};
}
```
I've switched the order of the commits around so that the buildbot is happy
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions