mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-28 06:01:02 +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()));
|
alternatives.push(try!(self.alternative()));
|
||||||
|
|
||||||
match self.lookahead {
|
match self.lookahead {
|
||||||
Some((_, '|')) => { continue; }
|
Some((_, '|')) => { self.bump(); continue; }
|
||||||
_ => { break; }
|
_ => { break; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user