updated Makefile.common
[org.ibex.core.git] / src / org / ibex / util / Grammar.java
index a690e62..683c118 100644 (file)
@@ -5,10 +5,11 @@ import org.ibex.js.*;
 public abstract class Grammar extends JS {
 
     public JS action = null;
-    public Grammar() { }
 
+    // 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");
     }
 
@@ -102,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);
         }
-    }
+    }*/
 }