mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Update ungrammar
This commit is contained in:
parent
80b3b74018
commit
1d6eef1350
43 changed files with 801 additions and 676 deletions
|
@ -13,6 +13,7 @@ pub(super) fn outer_attrs(p: &mut Parser) {
|
|||
}
|
||||
|
||||
pub(super) fn meta(p: &mut Parser) {
|
||||
let meta = p.start();
|
||||
paths::use_path(p);
|
||||
|
||||
match p.current() {
|
||||
|
@ -25,6 +26,8 @@ pub(super) fn meta(p: &mut Parser) {
|
|||
T!['('] | T!['['] | T!['{'] => items::token_tree(p),
|
||||
_ => {}
|
||||
}
|
||||
|
||||
meta.complete(p, META);
|
||||
}
|
||||
|
||||
fn attr(p: &mut Parser, inner: bool) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue