Make XML parse tree output be controlled by the property compiler.output_parse_tree rather than by a constant in the source code.

This commit is contained in:
dmose
2003-09-17 04:21:05 +00:00
parent e7029b1005
commit ab2eda4492

View File

@@ -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("<?xml version=\"1.0\"?>");