diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-02 23:23:06 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-02 23:23:06 -0600 |
commit | 0ae01301d572b2e69585c4d1cb753ed7fc89dfe3 (patch) | |
tree | af2923bdaf9f0810f780634af39816c87e902eae /Typecheck.java | |
parent | 35b1ec663c4bf233c1beba823d2c2ebd2759289e (diff) |
Store SymTable child information as an array of strings
Diffstat (limited to 'Typecheck.java')
-rw-r--r-- | Typecheck.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Typecheck.java b/Typecheck.java index 3115c31..23f2efc 100644 --- a/Typecheck.java +++ b/Typecheck.java @@ -19,8 +19,8 @@ public class Typecheck { root.accept(pp, ""); PrintFilter.print("===================================================", true); - // // Build the symbol table. Top-down visitor, inherits from - // // GJDepthFirst<R,A>. R=Void, A=Integer. + // Build the symbol table. Top-down visitor, inherits from + // GJDepthFirst<R,A>. R=Void, A=Integer. SymTableVis pv = new SymTableVis(); root.accept(pv, new ArrayList<TypeInstance>()); HashMap<String, AbstractInstance> symt = pv.symt; |