sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-scripting-sightly-compiler] 06/31: SLING-6224 - Expand the accepted & ignored whitespace characters for HTL scripts
Date Tue, 07 Nov 2017 10:10:26 GMT
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 <radu@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" <commits@sling.apache.org>.

Mime
View raw message