X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2Fmeta%2FMetaGrammar.java;h=2340de21b89829fe7c43fe02d89ee74d54958361;hb=a7ed3694a03bf9fe30e3274775c0646554e99bd4;hp=a4c620b42a108da9c53416df50309d561296517c;hpb=2bee2b032b0422d212e17082cc4dcbf28cb897ac;p=sbp.git diff --git a/src/edu/berkeley/sbp/meta/MetaGrammar.java b/src/edu/berkeley/sbp/meta/MetaGrammar.java index a4c620b..2340de2 100644 --- a/src/edu/berkeley/sbp/meta/MetaGrammar.java +++ b/src/edu/berkeley/sbp/meta/MetaGrammar.java @@ -60,18 +60,7 @@ public class MetaGrammar { public TreeBindable(Bindable b) { this._bindable = b; } private int[] buildSequence(Production p) { - Annotation[][] annotations = _bindable.getArgAnnotations(); - Class[] types = _bindable.getArgTypes(); - String[] names = _bindable.getArgNames(); - String name = _bindable.getSimpleName(); - int len = annotations.length; - int ofs = 0; - bind.arg[] argtags = new bind.arg[len]; - for(int i=0; i0 && types[0]==Input.Region.class; - for(int i=0; i 0 && @@ -229,11 +179,7 @@ public class MetaGrammar { } } Object[] o = (Object[])ret.toArray(new Object[0]); - int max = 0; - for(int i=0; i