From a1c15f046183373baf5deb66e77188e656806fb7 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 23 Apr 2023 00:24:42 -0600 Subject: squash all the things --- submit/ast/Statement.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'submit/ast/Statement.java') diff --git a/submit/ast/Statement.java b/submit/ast/Statement.java index 2e0581e..2daeb9d 100644 --- a/submit/ast/Statement.java +++ b/submit/ast/Statement.java @@ -11,6 +11,8 @@ import java.util.ArrayList; * @author edwajohn */ public interface Statement extends Node { - public static CompoundStatement empty() { return new CompoundStatement(new ArrayList<>()); } - + public static CompoundStatement empty() { + submit.SymbolTable newTable = new submit.SymbolTable(); + return new CompoundStatement(new ArrayList<>(), newTable); + } } -- cgit v1.2.3-70-g09d2