mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Fix #41 by adding a missing self.bump()
This commit is contained in:
parent
474d2be12d
commit
90849fffcf
@ -103,7 +103,7 @@ impl<'str> RegexParser<'str> {
|
||||
alternatives.push(try!(self.alternative()));
|
||||
|
||||
match self.lookahead {
|
||||
Some((_, '|')) => { continue; }
|
||||
Some((_, '|')) => { self.bump(); continue; }
|
||||
_ => { break; }
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user