[breaking-change] don't glob export ast::KleeneOp variants
This commit is contained in:
parent
019614f03d
commit
798974cae5
7 changed files with 18 additions and 17 deletions
|
@ -2599,11 +2599,11 @@ impl<'a> Parser<'a> {
|
|||
match parser.token {
|
||||
token::BinOp(token::Star) => {
|
||||
parser.bump();
|
||||
Ok(Some(ast::ZeroOrMore))
|
||||
Ok(Some(ast::KleeneOp::ZeroOrMore))
|
||||
},
|
||||
token::BinOp(token::Plus) => {
|
||||
parser.bump();
|
||||
Ok(Some(ast::OneOrMore))
|
||||
Ok(Some(ast::KleeneOp::OneOrMore))
|
||||
},
|
||||
_ => Ok(None)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue