From: adam Date: Wed, 14 Dec 2005 02:52:05 +0000 (-0500) Subject: checkpoint X-Git-Tag: tag_for_25-Mar~568 X-Git-Url: http://git.megacz.com/?p=sbp.git;a=commitdiff_plain;h=58255f1146299de97dcc40a0392866308f44006d checkpoint darcs-hash:20051214025205-5007d-3e233dd37dbfa8acf15e36af3b73f01716fba6f2.gz --- diff --git a/src/edu/berkeley/sbp/misc/MetaGrammar.java b/src/edu/berkeley/sbp/misc/MetaGrammar.java index e30312e..dd94368 100644 --- a/src/edu/berkeley/sbp/misc/MetaGrammar.java +++ b/src/edu/berkeley/sbp/misc/MetaGrammar.java @@ -83,18 +83,10 @@ public class MetaGrammar extends ReflectiveWalker { if (s instanceof String) s = CharToken.string((String)s); return new Rep(r, (Element)s, false, false); } - public Object _dollar__dollar_(final Element r, Object s) { - if (s instanceof String) s = CharToken.string((String)s); - return new Rep(r, (Element)s, false, false); - } public Object _star__slash_(final Element r, Object s) { if (s instanceof String) s = CharToken.string((String)s); return new Rep(r, (Element)s, false, true); } - public Object _percent__percent_(final Element r, Object s) { - if (s instanceof String) s = CharToken.string((String)s); - return new Rep(r, (Element)s, false, true); - } //public Element _star__slash_(final Element r, Element s) { return Repeat.many0(r, s); } public Object _star__star_(final Element r) { return new Rep(r, null, true, true); } public Object _plus__plus_(final Element r) { return new Rep(r, null, true, false); } @@ -368,6 +360,7 @@ public class MetaGrammar extends ReflectiveWalker { + // DO NOT EDIT STUFF BELOW: IT IS AUTOMATICALLY GENERATED new Tree(null, "gram", new Tree[] { new Tree(null, null, new Tree[] { }), new Tree(null, "grammar", new Tree[] { new Tree(null, null, new Tree[] { new Tree(null, "::=", new Tree[] { new Tree(null, "sify", new Tree[] { new Tree(null, null, new Tree[] { new Tree(null, "s", new Tree[] { })})}), @@ -951,3 +944,4 @@ new Tree(null, "gram", new Tree[] { new Tree(null, null, new Tree[] { }), +