X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2Ftib%2FTib.java;h=64acbbfb9c7770282d75e818be18bc6bb133f883;hb=76038cc31d71c6e7c0e6352f9c21ebd320e5c0cc;hp=4805d1e8f543cbf16fcfef674552e391f72e3788;hpb=ac3843911c47a601ffd679d2e075b519d3a18d6a;p=sbp.git diff --git a/src/edu/berkeley/sbp/tib/Tib.java b/src/edu/berkeley/sbp/tib/Tib.java index 4805d1e..64acbbf 100644 --- a/src/edu/berkeley/sbp/tib/Tib.java +++ b/src/edu/berkeley/sbp/tib/Tib.java @@ -42,7 +42,7 @@ public class Tib implements Input { int _row = 1; int _col = 0; - public Input.Location getLocation() { return new Input.Location.Cartesian(_col, _row); } + public Input.Location getLocation() { return new Cartesian.Location(_col, _row); } private BufferedReader br; char left = CharRange.left; @@ -135,6 +135,7 @@ public class Tib implements Input { // Grammar ////////////////////////////////////////////////////////////////////////////// + /* public static class Grammar extends ReflectiveGrammar { private int anon = 0; private final Element ws = Sequence.maximal0(getNonTerminal("w")); @@ -160,6 +161,7 @@ public class Tib implements Input { return super.walk(tree); } } + */ /* public class Braces extends Union {