better error message
[sbp.git] / src / edu / berkeley / sbp / meta / MetaGrammarBindings.java
index c51f71f..b0b86da 100644 (file)
@@ -195,7 +195,7 @@ public class MetaGrammarBindings extends AnnotationGrammarBindings {
         public Seq(ElementNode e) { this(new ElementNode[] { e }); }
         public Seq(ElementNode[] elements) { this.elements = elements; }
         public Atom toAtom(Context cx) {
-            if (elements.length != 1) throw new Error("FIXME");
+            if (elements.length != 1) throw new Error("you attempted to use ->, **, ++, or a similar character-class operator on a [potentially] multicharacter production");
             return elements[0].toAtom(cx);
         }
         public Seq tag(String tag) { this.tag = prefix+tag; return this; }