From 2e64f86f88669c7574c74cf8c557b5217ba4e375 Mon Sep 17 00:00:00 2001 From: lpapailiou Date: Sat, 17 Jul 2021 16:04:18 +0200 Subject: [PATCH] last beauty fix --- pom.xml | 2 +- .../java/parser/parsetree/statements/VariableDeclaration.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 3a29c95..c588a1a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ fac fac - 2.4.0 + 2.4.1 diff --git a/src/main/java/parser/parsetree/statements/VariableDeclaration.java b/src/main/java/parser/parsetree/statements/VariableDeclaration.java index 17c6edb..d9c6478 100644 --- a/src/main/java/parser/parsetree/statements/VariableDeclaration.java +++ b/src/main/java/parser/parsetree/statements/VariableDeclaration.java @@ -113,8 +113,6 @@ public String toString() { String out = type.getLiteral() + " " + identifier; if (initializedWithValue) { out += " = " + value; - } else { - out += ";"; } return out + ";\n"; }