projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring to eliminate Token.result()
[sbp.git]
/
src
/
edu
/
berkeley
/
sbp
/
Walk.java
diff --git
a/src/edu/berkeley/sbp/Walk.java
b/src/edu/berkeley/sbp/Walk.java
index
4f133a4
..
f8f8d4f
100644
(file)
--- a/
src/edu/berkeley/sbp/Walk.java
+++ b/
src/edu/berkeley/sbp/Walk.java
@@
-138,10
+138,10
@@
abstract class Walk<T> {
eof = false;
cs = cso.empty();
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;
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;
if (!(x instanceof Sequence)) continue;
Sequence a = (Sequence)x;
Position mp = null;