Author: cbrisson
Date: Thu Nov 1 10:20:55 2018
New Revision: 1845428
URL: http://svn.apache.org/viewvc?rev=1845428&view=rev
Log:
[engine] Factorize parser debug flags
Modified:
velocity/engine/branches/VELOCITY-892/velocity-engine-core/pom.xml
Modified: velocity/engine/branches/VELOCITY-892/velocity-engine-core/pom.xml
URL:
http://svn.apache.org/viewvc/velocity/engine/branches/VELOCITY-892/velocity-engine-core/pom.xml?rev=1845428&r1=1845427&r2=1845428&view=diff
==============================================================================
--- velocity/engine/branches/VELOCITY-892/velocity-engine-core/pom.xml
(original)
+++ velocity/engine/branches/VELOCITY-892/velocity-engine-core/pom.xml Thu Nov
1 10:20:55 2018
@@ -35,6 +35,8 @@
<!-- command line switch -Dparser.nodefiles=true generates AST Node
classes (new structures added to parser) -->
<parser.nodefiles>false</parser.nodefiles>
+
+ <parser.debug>false</parser.debug>
<!-- You can modify those properties locally to test
the DataSourceResourceLoader against other engines.
@@ -169,9 +171,9 @@
<buildParser>true</buildParser>
<buildNodeFiles>${parser.nodefiles}</buildNodeFiles>
<multi>true</multi>
- <debugParser>false</debugParser>
- <debugLookAhead>false</debugLookAhead>
- <debugTokenManager>false</debugTokenManager>
+ <debugParser>${parser.debug}</debugParser>
+ <debugLookAhead>${parser.debug}</debugLookAhead>
+ <debugTokenManager>${parser.debug}</debugTokenManager>
<jdkVersion>${maven.compiler.target}</jdkVersion>
<nodeUsesParser>true</nodeUsesParser>
<nodePackage>org.apache.velocity.runtime.parser.node</nodePackage>