From f0692ff5f9e39cbd1c203e9d5abebf55a3d0f6fc Mon Sep 17 00:00:00 2001 From: Emanuele Grasso <96300448+L0P0P@users.noreply.github.com> Date: Sat, 6 Jul 2024 09:47:25 +0200 Subject: Fixed the print of the ast and some warnings (#19) Co-authored-by: Santo Cariotti --- src/semanticanalysis/SymbolTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/semanticanalysis/SymbolTable.java') diff --git a/src/semanticanalysis/SymbolTable.java b/src/semanticanalysis/SymbolTable.java index b620af7..50309a5 100644 --- a/src/semanticanalysis/SymbolTable.java +++ b/src/semanticanalysis/SymbolTable.java @@ -15,8 +15,8 @@ public class SymbolTable { private final ArrayList offset; public SymbolTable() { - this.symbolTable = new ArrayList(); - this.offset = new ArrayList(); + this.symbolTable = new ArrayList<>(); + this.offset = new ArrayList<>(); } /** -- cgit v1.2.3-18-g5258