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:12 UTC

[sling-org-apache-sling-scripting-sightly-compiler] 08/15: trivial: corrected Sightly lexer for escaped expressions

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.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler.git

commit c912939828b36dbae75eeadf14b9868feb675bf6
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Aug 26 14:04:53 2016 +0000

    trivial: corrected Sightly lexer for escaped expressions
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/compiler@1757856 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 c348636..3d62153 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
@@ -18,7 +18,7 @@
  ******************************************************************************/
 lexer grammar SightlyLexer;
 
-ESC_EXPR: '\${'.*? '}';
+ESC_EXPR: '\\${'.*? '}';
 
 EXPR_START: '${' -> pushMode(ExpressionMode);
 

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