- if (dropAll || lame) {
- ret = Sequence.drop(expansion, lame);
- for(Sequence s : and) ret = ret.and(s);
- for(Sequence s : not) ret = ret.not(s);
- }
- else if (unwrap) ret = new Sequence.Unwrap(expansion, drops, and, not);
- else if (tag!=null) {
- ret = Sequence.rewritingSequence(tag, expansion, drops);
- for(Sequence s : and) ret = ret.and(s);
- for(Sequence s : not) ret = ret.not(s);
- } else {
+ if (dropAll || lame) ret = Sequence.drop(expansion, lame);
+ else if (unwrap) ret = new Sequence.Unwrap(expansion, drops);
+ else if (tag!=null) ret = Sequence.rewritingSequence(tag, expansion, drops);
+ else {