aboutsummaryrefslogtreecommitdiff
path: root/src/parser/event_parser/grammar.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-07 17:14:26 +0000
committerAleksey Kladov <[email protected]>2018-01-07 17:14:26 +0000
commitfc4d6cc298fe901d2bf92a30a3efd67233c67a3a (patch)
treefe9581ccf3fef334c4ca21da4961eb3c0fd74975 /src/parser/event_parser/grammar.rs
parentbbf7e9bbd284f83d43e61604076a040baaf124a7 (diff)
Simplify non-white token handling
Diffstat (limited to 'src/parser/event_parser/grammar.rs')
-rw-r--r--src/parser/event_parser/grammar.rs2
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
7pub fn file(p: &mut Parser) { 7pub(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);