Update ungrammar
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -220,7 +220,7 @@ pub enum SyntaxKind {
|
||||
ITEM_LIST,
|
||||
ASSOC_ITEM_LIST,
|
||||
ATTR,
|
||||
META_ITEM,
|
||||
META,
|
||||
USE_TREE,
|
||||
USE_TREE_LIST,
|
||||
PATH,
|
||||
|
||||
Reference in New Issue
Block a user