checkpoint
[sbp.git] / src / edu / berkeley / sbp / misc / MetaGrammar.java
index 92c05de..aa433d3 100644 (file)
@@ -292,7 +292,7 @@ public class MetaGrammar extends StringWalker {
             Sequence ret = null;
             if (dropAll || lame) ret = Sequence.drop(expansion, lame);
             else if (unwrap)    ret = new Sequence.Unwrap(expansion, drops);
-            else if (tag!=null) ret = Sequence.rewritingSequence(tag, expansion, drops);
+            else if (tag!=null) ret = Sequence.rewritingSequence(tag, expansion, null, drops);
             else {
                 int idx = -1;
                 for(int i=0; i<expansion.length; i++)