adjust misc for changes in meta
[sbp.git] / src / edu / berkeley / sbp / misc / Java15.java
index 085f26e..9d06b8a 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright 2006 all rights reserved; see LICENSE file for BSD-style license
+
 // Copyright 2006 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.
@@ -8,19 +10,20 @@ import edu.berkeley.sbp.misc.*;
 import edu.berkeley.sbp.meta.*;
 import edu.berkeley.sbp.util.*;
 import edu.berkeley.sbp.chr.*;
-import edu.berkeley.sbp.bind.*;
 import java.util.*;
 import java.io.*;
 
 public class Java15 {
-
+    /*
     public static void main(String[] s) throws Exception {
 
         try {
             Tree<String> res = new CharParser(MetaGrammar.newInstance()).parse(new FileInputStream(s[0])).expand1();
             
             //AnnotationGrammarBindings resolver = new AnnotationGrammarBindings(Java15.class);
-            Grammar.Bindings resolver = new Grammar.Bindings();
+            Grammar.Bindings resolver = new Grammar.Bindings() {
+                    public Object repeatTag() { return ""; }
+                };
             Union javaGrammar = Grammar.create(res, "s", resolver);
 
             System.err.println("parsing " + s[1]);
@@ -43,5 +46,5 @@ public class Java15 {
         }
 
     }
-
+    */
 }