rust/crates/ra_syntax
bors[bot] 90ef070db3
Merge #2628
2628: Add macro 2.0 support in parser r=matklad a=edwin0cheng

This PR added a new syntax kind : `MACRO_DEF` and a keyword `MACRO_KW`

there are two syntax for declarative macro 2.0 :
1. Normal : `macro m { ($i:ident) => {} }` , which handle similar to legacy one. 
2. Call like: `macro m($i:ident) {}`, it produces a single token tree which have two child token trees : `($i:ident)` and `{}`

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-12-21 10:47:47 +00:00
..
fuzz Added test for check doc strings in crates. 2019-09-30 11:58:53 +03:00
src Merge #2628 2019-12-21 10:47:47 +00:00
test_data Add macro 2.0 support in parser 2019-12-21 18:29:14 +08:00
Cargo.toml Avoid recompiling serde 2019-12-12 14:11:06 +01:00