if (matched) walk(a);
}
- if (e instanceof Repeat.MaximalSequence || e instanceof Repeat.Maximal)
- cs.remove(new Last<Tok>(cs.fresh(), c).walk(e));
- /*
if (e instanceof Sequence) {
Sequence s = (Sequence)e;
- if (s.noFollow() != null) cs.remove(s.noFollow());
+ if (s.noFollow() != null) cs.remove(s.noFollow().dup());
}
- */
+
if (c != null && e==me) {
c.follow.put(e, cs.dup());
c.eof.put(e, eof);