diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-03 13:51:07 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-03 13:51:07 +0100 |
commit | e593d4ac73497f01d577a88ff1a0d57f63734dbf (patch) | |
tree | 03532b56d9300d307986e1a6bc6dddf8c30e7621 /crates/ra_mbe/src/tt_cursor.rs | |
parent | 9901f3e45efebafbd0e9f53951346f171792b169 (diff) | |
parent | 11d6a1449de1ae4284fe73d9955d29ae6eea2356 (diff) |
Merge #1226
1226: Fix Bug in mbe on mismatching bindings count r=matklad a=edwin0cheng
This PR do the followings things:
1. Fixed a bug happened in following code by inserting empty bindings before a nested bindings:
```
macro_rules foo! {
($( ($($a:ident)* => $($b:ident))*))* => { ... }
}
foo!( ( => a) (b => ) )
```
2. Fixed a bug which forget to restore `var_expanded`.
3. Some cleanup
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/tt_cursor.rs')
0 files changed, 0 insertions, 0 deletions