checkpoint
[sbp.git] / src / edu / berkeley / sbp / chr / CharAtom.java
index f2f8e62..8db19b6 100644 (file)
@@ -10,8 +10,6 @@ import edu.berkeley.sbp.Input.Location;
 
 public class CharAtom extends Atom<Character> {
 
-    public StringBuffer toString(StringBuffer sb) { sb.append(this); return sb; }
-
     public CharAtom() { this(new CharTopology()); }
     public CharAtom(char a) { this(a,a); }
     public CharAtom(char a, char b) { this(new CharTopology(a, b)); }
@@ -52,7 +50,7 @@ public class CharAtom extends Atom<Character> {
     }
 
     private static Union epsilon = new Union("()");
-    static { epsilon.add(Sequence.empty); }
+    static { epsilon.add(Sequence.empty()); }
 
     public Topology<Atom<Character>>       unwrap() { return this; }
     public Topology<Atom<Character>>       empty()  { return new CharAtom(); }