You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2016/08/26 14:04:53 UTC

svn commit: r1757856 - /sling/trunk/bundles/scripting/sightly/compiler/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4

Author: radu
Date: Fri Aug 26 14:04:53 2016
New Revision: 1757856

URL: http://svn.apache.org/viewvc?rev=1757856&view=rev
Log:
trivial: corrected Sightly lexer for escaped expressions

Modified:
    sling/trunk/bundles/scripting/sightly/compiler/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4

Modified: sling/trunk/bundles/scripting/sightly/compiler/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/compiler/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4?rev=1757856&r1=1757855&r2=1757856&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/compiler/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4 (original)
+++ sling/trunk/bundles/scripting/sightly/compiler/src/main/antlr4/org/apache/sling/scripting/sightly/impl/parser/expr/generated/SightlyLexer.g4 Fri Aug 26 14:04:53 2016
@@ -18,7 +18,7 @@
  ******************************************************************************/
 lexer grammar SightlyLexer;
 
-ESC_EXPR: '\${'.*? '}';
+ESC_EXPR: '\\${'.*? '}';
 
 EXPR_START: '${' -> pushMode(ExpressionMode);