aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-07 08:47:19 +0000
committerGitHub <noreply@github.com>2022-03-07 08:47:19 +0000
commit366c53371ad40025984a98e01b02d452d49816aa (patch)
treec43d12ae5fa1058e4a944682720a5100c9111eb9 /gcc/rust/backend/rust-compile-resolve-path.cc
parentb82408fd6a17762fcb6fc7b5efe9307a3e59f8b7 (diff)
parent0c7e16e1258b67ba8efa1b019802bee4d802d4a5 (diff)
downloadgcc-366c53371ad40025984a98e01b02d452d49816aa.zip
gcc-366c53371ad40025984a98e01b02d452d49816aa.tar.gz
gcc-366c53371ad40025984a98e01b02d452d49816aa.tar.bz2
Merge #991
991: Match and expand macro separators properly r=CohenArthur a=CohenArthur More nice recursive macros: ```rust macro_rules! add { ($e:expr | $($es:expr) | *) => { $e + add!($($es) | *) }; ($e:expr) => { $e }; } add!(1 | 2 | 3 | 4 | 5 | 6); ``` Closes #968 This PR needs #986 to be merged first, as it depends on it for the test cases. You can skip reviewing the first two commits which are just from #986 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