aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar/items/mod.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-09-03 22:49:21 +0100
committerAleksey Kladov <[email protected]>2018-09-03 22:49:21 +0100
commitc3e28f06463854e4711c4c49a49c77d1e136969f (patch)
tree9f031e9b9b38e1136a019e67120398f47f199066 /crates/libsyntax2/src/grammar/items/mod.rs
parent952da31f44b717d5679c1c0baffcd998c0f67266 (diff)
extern blocks
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/mod.rs')
-rw-r--r--crates/libsyntax2/src/grammar/items/mod.rs1
1 files changed, 1 insertions, 0 deletions
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) {
227 assert!(p.at(L_CURLY)); 227 assert!(p.at(L_CURLY));
228 let m = p.start(); 228 let m = p.start();
229 p.bump(); 229 p.bump();
230 mod_contents(p, true);
230 p.expect(R_CURLY); 231 p.expect(R_CURLY);
231 m.complete(p, EXTERN_ITEM_LIST); 232 m.complete(p, EXTERN_ITEM_LIST);
232} 233}