You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:10:26 UTC

[sling-org-apache-sling-scripting-sightly-compiler] 06/31: SLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.compiler-1.0.10
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler.git

commit 867af05fcf4764bf86aee4f407e91d5d08670e40
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Tue Nov 1 16:13:32 2016 +0000

    SLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts
    
    * expanded whitespace characters list and added tests
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/compiler@1767516 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4 b/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4
index 3d62153..9dc6ebf 100644
--- a/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4
+++ b/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4
@@ -90,6 +90,9 @@ WS  :   ( ' '
         | '\t'
         | '\r'
         | '\n'
+        | '\f'
+        | '\u000B'
+        | '\u00A0'
         ) -> channel(HIDDEN)
     ;
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.