Parse and validate attributes in blocks

This commit is contained in:
DJMcNab 2019-01-28 20:03:56 +00:00
parent 137b1ccb71
commit 00e6b5d26c
10 changed files with 352 additions and 0 deletions

View file

@ -42,6 +42,8 @@ pub(crate) fn block(p: &mut Parser) {
}
let m = p.start();
p.bump();
// This is checked by a validator
attributes::inner_attributes(p);
while !p.at(EOF) && !p.at(R_CURLY) {
match p.current() {