[breaking-change] don't glob export ast::KleeneOp variants

This commit is contained in:
Oliver 'ker' Schneider 2016-02-09 11:45:01 +01:00 committed by Oliver Schneider
parent 019614f03d
commit 798974cae5
7 changed files with 18 additions and 17 deletions

View file

@ -374,7 +374,7 @@ pub fn parse(sess: &ParseSess,
match ei.top_elts.get_tt(idx) {
/* need to descend into sequence */
TokenTree::Sequence(sp, seq) => {
if seq.op == ast::ZeroOrMore {
if seq.op == ast::KleeneOp::ZeroOrMore {
let mut new_ei = ei.clone();
new_ei.match_cur += seq.num_captures;
new_ei.idx += 1;