preliminary core conversion
[org.ibex.core.git] / src / org / ibex / util / Grammar.java
index 565de4d..683c118 100644 (file)
@@ -6,8 +6,10 @@ public abstract class Grammar extends JS {
 
     public JS action = null;
 
+    // FIXME: Updae for new api
+    
     // means we call()ed a Grammar that hasn't been bound to a scope yet
-    public Object call(Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
+    /*public Object call(Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
         throw new Error("this should never happen");
     }
 
@@ -101,5 +103,5 @@ public abstract class Grammar extends JS {
         public int match(String s, int start, Hash v, JSScope scope) throws JSExn {
             return ((Grammar)scope.get(key)).matchAndWrite(s, start, v, scope, key);
         }
-    }
+    }*/
 }