some changes + on macos now
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<link>
|
||||
<name>programs</name>
|
||||
<type>2</type>
|
||||
<location>/home/simon/Documents/Uni/CS/CSCU9A5-2/Ass1/src/a5-triangle-tools/programs</location>
|
||||
<location>/Users/simon/Library/CloudStorage/GoogleDrive-fearrising404@gmail.com/My Drive/Uni/CS/CSCU9A5-2/Ass1/src/a5-triangle-tools/programs</location>
|
||||
</link>
|
||||
</linkedResources>
|
||||
</projectDescription>
|
||||
|
||||
@@ -600,9 +600,13 @@ public class ConstantFolder implements ActualParameterVisitor<Void, AbstractSynt
|
||||
ie.type = StdEnvironment.integerType;
|
||||
return ie;
|
||||
} else if (foldedValue instanceof Boolean) {
|
||||
//Task 7?
|
||||
System.out.println("Boolean Expr. ");
|
||||
/* currently not handled! */
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//?
|
||||
}
|
||||
|
||||
// any unhandled situation (i.e., not foldable) is ignored
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user