X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FWalk.java;h=f8f8d4f70b744df742237abab48c354193abffc2;hp=4f133a4d47865640ef8e73da7597b531631129a7;hb=96a2822a729e563a64173f22dc184bc972a200ef;hpb=6b53048f4413f3c618acc3581d0b4f60a236a9bc diff --git a/src/edu/berkeley/sbp/Walk.java b/src/edu/berkeley/sbp/Walk.java index 4f133a4..f8f8d4f 100644 --- a/src/edu/berkeley/sbp/Walk.java +++ b/src/edu/berkeley/sbp/Walk.java @@ -138,10 +138,10 @@ abstract class Walk { eof = false; cs = cso.empty(); - if (e instanceof Parser.Table.Top) eof = true; + if (e instanceof Parser.Top) eof = true; for(Element x : all) { boolean matched = false; - if (x instanceof Parser.Table.Top) walk(x); // because this symbol might not appear in any other Sequence + 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;