From c3e28f06463854e4711c4c49a49c77d1e136969f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 4 Sep 2018 00:49:21 +0300 Subject: extern blocks --- crates/libsyntax2/src/grammar/items/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/libsyntax2/src/grammar/items') diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/libsyntax2/src/grammar/items/mod.rs index e672aa419..5466146b4 100644 --- a/crates/libsyntax2/src/grammar/items/mod.rs +++ b/crates/libsyntax2/src/grammar/items/mod.rs @@ -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); } -- cgit v1.2.3