- if (o[i] instanceof PreSequence) o2[j] = ((PreSequence)o[i]).buildUnion(ws);
- else if (o[i]==SELF) o2[j] = u.new Subset("(("+u+"))", set);
- else if (o[i] instanceof MyLift) { o2[j] = CharToken.string(tag = ((MyLift)o[i]).s); drops[j] = true; }
- else if (o[i] instanceof String) { o2[j] = CharToken.string( ((String)o[i]) ); drops[j] = true; }
- else if (o[i] instanceof Rep) o2[j] = ((Rep)o[i]).build(ws);
- //else if (o[i] instanceof PreBrace) o2[j]
- else o2[j] = (Element)o[i];
+ Object oi = o[i];
+ if (oi instanceof MyDrop) { oi = ((MyDrop)oi).o; drops[j] = true; }
+ if (oi instanceof PreSequence) o2[j] = ((PreSequence)oi).buildUnion(ws);
+ else if (oi==SELF) o2[j] = u.new Subset("(("+u+"))", set);
+ else if (oi instanceof MyLift) { o2[j] = CharToken.string(tag = ((MyLift)oi).s); drops[j] = true; }
+ else if (oi instanceof String) { o2[j] = CharToken.string( ((String)oi) ); drops[j] = true; }
+ else if (oi instanceof Rep) o2[j] = ((Rep)oi).build(ws);
+ //else if (oi instanceof PreBrace) o2[j]
+ else o2[j] = (Element)oi;