X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FSequence.java;h=70b6b57a4fbd36e502b9e99d4beb08b05e74a5d8;hb=d2559f2903cbd048ece9abfb7828d7ca10187812;hp=34d714221b56b0565e05f0bf64cded4be3e7480c;hpb=74fc87dc827975ed4e9e411bb169a5f5bfb1010f;p=sbp.git diff --git a/src/edu/berkeley/sbp/Sequence.java b/src/edu/berkeley/sbp/Sequence.java index 34d7142..70b6b57 100644 --- a/src/edu/berkeley/sbp/Sequence.java +++ b/src/edu/berkeley/sbp/Sequence.java @@ -271,11 +271,11 @@ public abstract class Sequence extends Element implements Iterable { public static Repeat many1(Element e, Element sep, Object tag) { return new Repeat(e, false, true, sep, tag); } /** repeat zero or more times, matching a maximal sequence of atoms */ - public static Repeat maximal0(Element e) { return new Repeat.Maximal(e, true, true, null, null); } - public static Repeat maximal0(Element e, Object tag) { return new Repeat.Maximal(e, true, true, null, tag); } + public static Repeat maximal0(Element e) { return new Repeat.Maximal(e, true, true, null); } + public static Repeat maximal0(Element e, Object tag) { return new Repeat.Maximal(e, true, true, tag); } /** repeat one or more times, matching a maximal sequence of atoms */ - public static Repeat maximal1(Element e) { return new Repeat.Maximal(e, false, true, null, null); } - public static Repeat maximal1(Element e, Object tag) { return new Repeat.Maximal(e, false, true, null, tag); } + public static Repeat maximal1(Element e) { return new Repeat.Maximal(e, false, true, null); } + public static Repeat maximal1(Element e, Object tag) { return new Repeat.Maximal(e, false, true, tag); } /** repeat one or more times, separated by an atom sep, matching a maximal sequence */ public static Repeat maximal1(Element e, Element sep) { return new Repeat.Maximal(e, false, true, sep, null); } public static Repeat maximal1(Element e, Element sep, Object tag) { return new Repeat.Maximal(e, false, true, sep, tag); }