diff --git a/src/main/java/dk/aau/cs_24_sw_4_16/carl/Main.java b/src/main/java/dk/aau/cs_24_sw_4_16/carl/Main.java index 9ca4f86..6625b83 100644 --- a/src/main/java/dk/aau/cs_24_sw_4_16/carl/Main.java +++ b/src/main/java/dk/aau/cs_24_sw_4_16/carl/Main.java @@ -46,7 +46,7 @@ public static void main(String... args) { SemanticChecker typeChecker = new SemanticChecker(); typeChecker.visitor(astRoot); - System.out.println("yes"); + if (!typeChecker.thereWasAnError) { EvaluatorExecutor inter = new EvaluatorExecutor(); inter.visit(astRoot);