diff options
author | Aleksey Kladov <[email protected]> | 2018-01-07 17:14:26 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-07 17:14:26 +0000 |
commit | fc4d6cc298fe901d2bf92a30a3efd67233c67a3a (patch) | |
tree | fe9581ccf3fef334c4ca21da4961eb3c0fd74975 /src/parser/event_parser/grammar.rs | |
parent | bbf7e9bbd284f83d43e61604076a040baaf124a7 (diff) |
Simplify non-white token handling
Diffstat (limited to 'src/parser/event_parser/grammar.rs')
-rw-r--r-- | src/parser/event_parser/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/event_parser/grammar.rs b/src/parser/event_parser/grammar.rs index d657ee1cd..f676a183c 100644 --- a/src/parser/event_parser/grammar.rs +++ b/src/parser/event_parser/grammar.rs | |||
@@ -4,7 +4,7 @@ use syntax_kinds::*; | |||
4 | 4 | ||
5 | // Items // | 5 | // Items // |
6 | 6 | ||
7 | pub fn file(p: &mut Parser) { | 7 | pub(crate) fn file(p: &mut Parser) { |
8 | node(p, FILE, |p| { | 8 | node(p, FILE, |p| { |
9 | p.optional(SHEBANG); | 9 | p.optional(SHEBANG); |
10 | inner_attributes(p); | 10 | inner_attributes(p); |