diff options
| author | Emanuele Grasso <96300448+L0P0P@users.noreply.github.com> | 2024-07-06 09:47:25 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-06 09:47:25 +0200 | 
| commit | f0692ff5f9e39cbd1c203e9d5abebf55a3d0f6fc (patch) | |
| tree | 36518af3f04a751ba5bb8158c3f005cfa3e8c7c3 /src/ast/nodes/CompNode.java | |
| parent | 8aa8b5834953cab15c0687608f4fafea2e6c61be (diff) | |
Fixed the print of the ast and some warnings (#19)
Co-authored-by: Santo Cariotti <santo@dcariotti.me>
Diffstat (limited to 'src/ast/nodes/CompNode.java')
| -rw-r--r-- | src/ast/nodes/CompNode.java | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/CompNode.java b/src/ast/nodes/CompNode.java index 22906df..b6e0191 100644 --- a/src/ast/nodes/CompNode.java +++ b/src/ast/nodes/CompNode.java @@ -20,7 +20,7 @@ public class CompNode implements Node {      @Override      public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { -        return new ArrayList(); +        return new ArrayList<>();      }      // TODO: it should be boolean, right?  |