diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-21 22:28:06 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-21 22:28:06 +0100 |
commit | bbc5c1d24e1a641b134f634516828301e8cfc320 (patch) | |
tree | f10fe8412874714edcc2d317ab7822b9bbf80a74 /crates/ra_parser/src/grammar | |
parent | ee94edc722c9649bd16bb754959ad349593045e2 (diff) | |
parent | 120bfde3c22ed662cd4d3c35e91a739a86d0e990 (diff) |
Merge #1189
1189: Fix #1178 r=matklad a=edwin0cheng
This PR improves / fixes mbe :
1. Fixed a offest bug in `SourceTreeWalker`
2. Handle `*+` matcher properly
3. Add missing separator in rhs macro expansion.
4. Fixed bug in single token with empty delimiter subtree case. It is because the current `mbe_expander` will create an delimiter subtree for each expansion. But in `tt` case, all puncts expansion will be incorrect because of it.
5. Fixed lifetime bug
6. Add more information on parse_macro fail
7. Add tests for above.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/grammar')
0 files changed, 0 insertions, 0 deletions