checkpoint
[sbp.git] / src / edu / berkeley / sbp / ParseFailed.java
index eb11b11..0fd9226 100644 (file)
@@ -22,11 +22,11 @@ public class ParseFailed extends RuntimeException {
         if (touched.contains(n)) return;
         touched.add(n);
         for(Position p : n.state) {
-            if (((p.isFirst() || p.isLast()) && !force) || p.owner().name==null) {
+            if (((p.isFirst() || p.isLast()) && !force)/* || p.owner().name==null*/) {
                 for(Node n2 : n.parents())
                     complain(n2, errors, force | p.isFirst());
             } else {
-                String seqname = p.owner().name;
+                String seqname = p.owner()/*.name*/+"";
                 HashSet<String> hs = errors.get(seqname);
                 if (hs==null) errors.put(seqname, hs = new HashSet<String>());
                 hs.add(p.element()+"");