Topology<Tok> cso = cs;
boolean eofo = eof;
- eof = false;
+ eof = c.eof.get(e) != null && c.eof.get(e).booleanValue();
cs = cso.empty();
- if (e instanceof Parser.Top) eof = true;
for(Element x : all) {
boolean matched = false;
- if (x instanceof Parser.Top) walk(x); // because this symbol might not appear in any other Sequence
if (!(x instanceof Sequence)) continue;
Sequence a = (Sequence)x;
Position mp = null;