velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1768608 - /velocity/engine/trunk/velocity-engine-core/src/main/parser/Parser.jjt
Date Mon, 07 Nov 2016 23:05:52 GMT
Author: cbrisson
Date: Mon Nov  7 23:05:52 2016
New Revision: 1768608

URL: http://svn.apache.org/viewvc?rev=1768608&view=rev
Log:
[engine] Fix another bug in parser (newline between array or map elements)


Modified:
    velocity/engine/trunk/velocity-engine-core/src/main/parser/Parser.jjt

Modified: velocity/engine/trunk/velocity-engine-core/src/main/parser/Parser.jjt
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/velocity-engine-core/src/main/parser/Parser.jjt?rev=1768608&r1=1768607&r2=1768608&view=diff
==============================================================================
--- velocity/engine/trunk/velocity-engine-core/src/main/parser/Parser.jjt (original)
+++ velocity/engine/trunk/velocity-engine-core/src/main/parser/Parser.jjt Mon Nov  7 23:05:52
2016
@@ -1801,7 +1801,7 @@ void Parameter() #void: {}
         | Reference()
         | FloatingPointLiteral()
         )
-    [ <WHITESPACE>]
+    (<WHITESPACE>|<NEWLINE>)*
 }
 
 /**



Mime
View raw message