From 83aa6f0899fa3d8de87389d789d0e330739d0117 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 28 Jan 2018 12:57:03 +0300 Subject: Simplify item parsing --- src/parser/event_parser/grammar/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser/event_parser/grammar/mod.rs') diff --git a/src/parser/event_parser/grammar/mod.rs b/src/parser/event_parser/grammar/mod.rs index 82f8b7f3e..b87f3ca8a 100644 --- a/src/parser/event_parser/grammar/mod.rs +++ b/src/parser/event_parser/grammar/mod.rs @@ -11,7 +11,7 @@ mod paths; pub(crate) fn file(p: &mut Parser) { let file = p.start(); p.eat(SHEBANG); - items::mod_contents(p); + items::mod_contents(p, false); file.complete(p, FILE); } -- cgit v1.2.3