aboutsummaryrefslogtreecommitdiff
path: root/src/parser/event_parser/grammar/items.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/event_parser/grammar/items.rs')
-rw-r--r--src/parser/event_parser/grammar/items.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/parser/event_parser/grammar/items.rs b/src/parser/event_parser/grammar/items.rs
index 39295edf6..2e0aa3043 100644
--- a/src/parser/event_parser/grammar/items.rs
+++ b/src/parser/event_parser/grammar/items.rs
@@ -127,11 +127,7 @@ fn pos_fields(p: &mut Parser) {
127 if !p.expect(L_PAREN) { 127 if !p.expect(L_PAREN) {
128 return; 128 return;
129 } 129 }
130 loop { 130 while !(p.at(R_PAREN) || p.at(EOF)) {
131 if p.at(R_PAREN) || p.at(EOF) {
132 break;
133 }
134
135 let pos_field = p.start(); 131 let pos_field = p.start();
136 visibility(p); 132 visibility(p);
137 types::type_ref(p); 133 types::type_ref(p);