removed debug lines

main
Simon Kellet 1 year ago
parent b6f5eaa3c8
commit 873bf218f8
  1. 2
      Triangle.Compiler/src/main/java/triangle/optimiser/ConstantFolder.java
  2. BIN
      build/libs/Triangle-Tools.jar

@ -611,7 +611,6 @@ public class ConstantFolder implements ActualParameterVisitor<Void, AbstractSynt
Identifier ti = new Identifier(foldedValue.toString(), node1.getPosition());
if (ti.spelling == "true") {
System.out.println("True Decl thingy");
ti.decl = StdEnvironment.trueDecl;
SimpleVname sti = new SimpleVname(ti, node1.getPosition());
VnameExpression esti = new VnameExpression(sti, node1.getPosition());
@ -619,7 +618,6 @@ public class ConstantFolder implements ActualParameterVisitor<Void, AbstractSynt
return esti;
} else if (ti.spelling == "false") {
System.out.println("False Decl thingy");
ti.decl = StdEnvironment.falseDecl;
SimpleVname sti = new SimpleVname(ti, node1.getPosition());
VnameExpression esti = new VnameExpression(sti, node1.getPosition());

Binary file not shown.
Loading…
Cancel
Save