mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
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:
@@ -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\"?>");
|
||||
|
||||
Reference in New Issue
Block a user