Update ungrammar

This commit is contained in:
Jonas Schievink 2021-06-11 18:12:51 +02:00
parent 80b3b74018
commit 1d6eef1350
43 changed files with 801 additions and 676 deletions

View file

@ -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) {