Author: jens
Date: Fri Mar 24 16:08:42 2017
New Revision: 1788494

URL: http://svn.apache.org/viewvc?rev=1788494&view=rev
Log:
QueryParser: make whitespace in TIMESTAMP literal optional (CMIS-640)

Modified:
    
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisBaseLexer.g

Modified: 
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisBaseLexer.g
URL: 
http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisBaseLexer.g?rev=1788494&r1=1788493&r2=1788494&view=diff
==============================================================================
--- 
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisBaseLexer.g
 (original)
+++ 
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisBaseLexer.g
 Fri Mar 24 16:08:42 2017
@@ -140,7 +140,7 @@ STRING_LIT
     :  QUOTE ( ESC | ~(BACKSL|QUOTE) )* QUOTE
        ;
 
-WS : ( ' ' | '\t' | '\r'? '\n' )+ { $channel=HIDDEN; };
+WS : ( ' ' | '\t' | '\r'? '\n' )* { $channel=HIDDEN; };
 
 TIME_LIT : TIMESTAMP WS STRING_LIT;
 


Reply via email to