diff options
Diffstat (limited to 'J2V.java')
-rw-r--r-- | J2V.java | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,8 +15,8 @@ public class J2V { // Pretty-print the tree. PPrinter inherits from // GJDepthFirst<R,A>. R=Void, A=String. - PPrinter<Void,String> pp = new PPrinter<Void,String>(); - root.accept(pp, ""); + // PPrinter<Void,String> pp = new PPrinter<Void,String>(); + // root.accept(pp, ""); // Build the symbol table. Top-down visitor, inherits from // GJDepthFirst<R,A>. R=Void, A=Integer. @@ -25,10 +25,10 @@ public class J2V { root.accept(new SymTableTopDown<Void>(), symt); BoilSimp vp = new BoilSimp(); - String program = root.accept(vp, symt); + root.accept(vp, symt); PrintFilter.print("===================================================", true); - System.out.println(program); + System.out.println(vp.getVapor()); } |