aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/grammar')
-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}