diff options
| -rw-r--r-- | crates/parser/src/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/parser/src/parser.rs b/crates/parser/src/parser.rs index 33d645b048b..b621ebc37c3 100644 --- a/crates/parser/src/parser.rs +++ b/crates/parser/src/parser.rs @@ -237,6 +237,7 @@ impl<'t> Parser<'t> { fn do_bump(&mut self, kind: SyntaxKind, n_raw_tokens: u8) { self.pos += n_raw_tokens as usize; + self.steps.set(0); self.push_event(Event::Token { kind, n_raw_tokens }); } |
