copyright notices/updates
[sbp.git] / src / edu / berkeley / sbp / tib / Tib.java
index 1492240..2398c5c 100644 (file)
@@ -1,6 +1,4 @@
-// Copyright 2005 the Contributors, as shown in the revision logs.
-// Licensed under the Apache Public Source License 2.0 ("the License").
-// You may not use this file except in compliance with the License.
+// Copyright 2006 all rights reserved; see LICENSE file for BSD-style license
 
 package edu.berkeley.sbp.tib;
 import edu.berkeley.sbp.*;
@@ -45,8 +43,8 @@ public class Tib implements Input<Character> {
     public Input.Location getLocation() { return new Cartesian.Location(_col, _row); }
     private BufferedReader br;
 
-    char left = CharRange.left;
-    char right = CharRange.right;
+    char left = CharAtom.left;
+    char right = CharAtom.right;
 
     boolean waiting = false;
     char waitingChar = ' ';
@@ -135,6 +133,7 @@ public class Tib implements Input<Character> {
 
     // Grammar //////////////////////////////////////////////////////////////////////////////
 
+    /*
     public static class Grammar extends ReflectiveGrammar {
         private int anon = 0;
         private final Element ws = Sequence.maximal0(getNonTerminal("w"));
@@ -148,11 +147,11 @@ public class Tib implements Input<Character> {
                 u2.add(Sequence.singleton(new Element[] { u }, 0));
                 return anonymousNonTerminal(new Sequence[][] {
                     new Sequence[] {
-                        Sequence.singleton(new Element[] { CharRange.leftBrace,
+                        Sequence.singleton(new Element[] { CharAtom.leftBrace,
                                                            ws,
                                                            u2,
                                                            ws,
-                                                           CharRange.rightBrace
+                                                           CharAtom.rightBrace
                         }, 2)
                     }
                 });
@@ -160,6 +159,7 @@ public class Tib implements Input<Character> {
             return super.walk(tree);
         }
     }
+    */
 
     /*
 public class Braces extends Union {