mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
fix spelling of "backtrack"
This commit is contained in:
parent
8ad65d7f6a
commit
e49fd840ba
@ -495,7 +495,7 @@ impl<'a> TermParser<'a> {
|
||||
self.skip_trivia();
|
||||
let (cur_name, rule) = self.parse_rule()?;
|
||||
let mut rules = vec![rule];
|
||||
// the current index to backtack in case of fail to parse the next rule.
|
||||
// the current index to backtrack in case of fail to parse the next rule.
|
||||
let mut nxt_term = *self.index();
|
||||
loop {
|
||||
self.skip_trivia();
|
||||
|
Loading…
Reference in New Issue
Block a user