extern blocks

This commit is contained in:
Aleksey Kladov
2018-09-04 00:49:21 +03:00
parent 952da31f44
commit c3e28f0646
8 changed files with 1032 additions and 8 deletions

View File

@@ -227,6 +227,7 @@ fn extern_item_list(p: &mut Parser) {
assert!(p.at(L_CURLY));
let m = p.start();
p.bump();
mod_contents(p, true);
p.expect(R_CURLY);
m.complete(p, EXTERN_ITEM_LIST);
}