checkpoint
[sbp.git] / src / edu / berkeley / sbp / tib / Tib.java
index 4b4a247..15c286a 100644 (file)
@@ -5,6 +5,7 @@
 package edu.berkeley.sbp.tib;
 import edu.berkeley.sbp.*;
 import edu.berkeley.sbp.misc.*;
+import edu.berkeley.sbp.chr.*;
 import java.util.*;
 import java.io.*;
 
@@ -23,7 +24,7 @@ import java.io.*;
  *   experimentation with the TIB spec.  Once the spec is finalized it
  *   should probably be rewritten.
  */
-public class Tib implements Token.Stream<Character> {
+public class Tib implements Input.Stream<Character> {
 
     public Tib(String s) throws IOException { this(new StringReader(s)); }
     public Tib(Reader r) throws IOException { this(new BufferedReader(r)); }
@@ -41,7 +42,7 @@ public class Tib implements Token.Stream<Character> {
 
     int _row = 1;
     int _col = 0;
-    public Token.Location getLocation() { return new CartesianInput.Location(_row, _col); }
+    public Input.Location getLocation() { return new CartesianInput.Location(_row, _col); }
     private BufferedReader br;
 
     char left = CharRange.left;