add backslash to braces in metagrammar
[sbp.git] / src / edu / berkeley / sbp / meta / MetaGrammarBindings.java
index 1a60610..4ae0393 100644 (file)
@@ -266,10 +266,6 @@ public class MetaGrammarBindings extends AnnotationGrammarBindings {
     public static @bind.as("Elements")  Seq  seq2(ElementNode[] elements)               { return new Seq(elements); }
     public static @bind.as        Seq  psx(Seq s)                        { return s; }
     public static @bind.as(":")   ElementNode   colon(String s, ElementNode e)             { return new Label(s, e); }
-    public static @bind.as("{") ElementNode   leftBrace() {
-        return new Drop(new CharClass(new Range[] { new Range(CharAtom.left, CharAtom.left) })); }
-    public static @bind.as("}") ElementNode   rightBrace() {
-        return new Drop(new CharClass(new Range[] { new Range(CharAtom.right, CharAtom.right) })); }
     public static @bind.as(")")   void close(String foo)                 { throw new Error("not supported"); }
     public static @bind.as("()")  ElementNode   epsilon()                         { return new Constant(epsilon); }