From 0ae01301d572b2e69585c4d1cb753ed7fc89dfe3 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Tue, 2 Apr 2024 23:23:06 -0600 Subject: Store SymTable child information as an array of strings --- Typecheck.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Typecheck.java') 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=Void, A=Integer. + // Build the symbol table. Top-down visitor, inherits from + // GJDepthFirst. R=Void, A=Integer. SymTableVis pv = new SymTableVis(); root.accept(pv, new ArrayList()); HashMap symt = pv.symt; -- cgit v1.2.3