diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-21 11:34:07 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-21 11:34:07 +0100 |
commit | fa15c4d75e87bd3bf761c91f030c76aec59308ae (patch) | |
tree | ba7a3495b13e41231076d5a0e491132bbdb0670e /crates/ra_syntax/src/ptr.rs | |
parent | 493bf20b3d1a0a890514d5252901f13d2878ff34 (diff) | |
parent | 9e35bf91b827900b089a7ea937cb73707bebc420 (diff) |
Merge #1175
1175: Fix bugs and add error log about macro expansion r=matklad a=edwin0cheng
This PR fixed / add following things:
* Add a fused count which stop recursion of macro expansion in name resolution.
* Add some logs when macro expansion fails
* Add `$crate` meta variable support in mbe, which create a `$crate` ident token in token tree.
* Fixed matching a `$REPEAT` pattern inside a subtree, e.g. `(fn $name:ident {$($i:ident)*} ) => {...}`
* Remove composite-able punct token in syntax node to token conversion.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ptr.rs')
0 files changed, 0 insertions, 0 deletions