removed singleton
authoradam <adam@megacz.com>
Sat, 11 Feb 2006 23:02:52 +0000 (18:02 -0500)
committeradam <adam@megacz.com>
Sat, 11 Feb 2006 23:02:52 +0000 (18:02 -0500)
darcs-hash:20060211230252-5007d-e7038cc68a1f0b7af2f7851e0afae3c7c5122fb2.gz

src/edu/berkeley/sbp/Forest.java

index 98e8e4b..abc5874 100644 (file)
@@ -46,7 +46,9 @@ public abstract class Forest<T> /*extends PrintableTree<Forest.MyBody<T>>*/ impl
     static        <T> Forest<T> singleton(Input.Location loc, Position p) {
         return create(loc, null, new Forest[] { }, false, true, p); }
     static        <T> Forest<T> singleton(Input.Location loc, Forest<T> body, Position p) {
-        return create(loc, null, new Forest[] { body },  false, true, p); }
+        //return create(loc, null, new Forest[] { body },  false, true, p);
+        return body;
+    }
     static        <T> Forest<T> leaf(Input.Location loc, T tag, Position p) { return create(loc, tag, null, false, false, p); }
 
     public static <T> Forest<T> create(Input.Location loc, T tag, Forest<T>[] tokens, boolean unwrap, boolean singleton, Position p) {