X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FForest.java;h=e7c0be4394c23d4951fc03f03be26cb2b44a80b3;hp=48f88a2e7a2c420a0bfce1d3777644cfefb3a86b;hb=5ea3b9182192a0fbb7a0bd86b919384ddaeff29a;hpb=72a63d7e3092aba0510df50ae8d03b74bb8d556d diff --git a/src/edu/berkeley/sbp/Forest.java b/src/edu/berkeley/sbp/Forest.java index 48f88a2..e7c0be4 100644 --- a/src/edu/berkeley/sbp/Forest.java +++ b/src/edu/berkeley/sbp/Forest.java @@ -77,8 +77,8 @@ public abstract class Forest /*extends PrintableTree>*/ public InnerAmbiguous(Forest f) { this.f = f; } } - static Forest leaf(Input.Region loc, T tag, Position p) { return create(loc, tag, null, false, p); } - public static Forest create(Input.Region loc, T tag, Forest[] tokens, boolean unwrap, Position p) { + static Forest leaf(Input.Region loc, T tag) { return create(loc, tag, null, false); } + public static Forest create(Input.Region loc, T tag, Forest[] tokens, boolean unwrap) { return new MyBody(loc, tag, tokens, unwrap); } // Body //////////////////////////////////////////////////////////////////////////////