summaryrefslogtreecommitdiff
path: root/Typecheck.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-19 19:36:03 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-19 19:36:03 -0600
commite188aa3f962df621fc49097418959c7d00ce9969 (patch)
treec575bd207e9715b6acdc1e655c93209453efffa1 /Typecheck.java
parent7b93ef1ec7cb51f3494d7f18cc39dd9d26a24be8 (diff)
Global PrintFilter -> MinimalLogger
Diffstat (limited to 'Typecheck.java')
-rw-r--r--Typecheck.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Typecheck.java b/Typecheck.java
index 4c43709..755ce36 100644
--- a/Typecheck.java
+++ b/Typecheck.java
@@ -17,14 +17,14 @@ public class Typecheck {
// GJDepthFirst<R,A>. R=Void, A=String.
PPrinter<Void,String> pp = new PPrinter<Void,String>();
root.accept(pp, "");
- PrintFilter.print("===================================================", true);
+ MinimalLogger.info("===================================================");
// Build the symbol table. Top-down visitor, inherits from
// GJDepthFirst<R,A>. R=Void, A=Integer.
SymbolTable symt = new SymbolTable();
root.accept(new SymTableBottomUp<Void>(), symt);
root.accept(new SymTableTopDown<Void>(), symt);
- PrintFilter.print("===================================================", true);
+ MinimalLogger.info("===================================================");
TypeCheckSimp ts = new TypeCheckSimp();
TypeInstance res = root.accept(ts, symt);