From ab2eda4492efdc339a2e13ae43d2201144426022 Mon Sep 17 00:00:00 2001 From: dmose Date: Wed, 17 Sep 2003 04:21:05 +0000 Subject: [PATCH] Make XML parse tree output be controlled by the property compiler.output_parse_tree rather than by a constant in the source code. --- app/PdePreprocessor.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/PdePreprocessor.java b/app/PdePreprocessor.java index d48047d4c..6e936ad5c 100644 --- a/app/PdePreprocessor.java +++ b/app/PdePreprocessor.java @@ -164,12 +164,10 @@ public class PdePreprocessor { writeFooter(stream); stream.close(); - final boolean debug = false; //true; - - // if we're debugging, serialize the parse tree to an XML file. can + // if desired, serialize the parse tree to an XML file. can // be viewed usefully with Mozilla or IE - if (debug) { + if (PdeBase.getBoolean("compiler.output_parse_tree", false)) { stream = new PrintStream(new FileOutputStream("parseTree.xml")); stream.println("");