You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2022/05/03 17:00:14 UTC

[commons-jexl] branch JEXL-367 updated: JEXL-367: fixing spillover form JEXL-369

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

henrib pushed a commit to branch JEXL-367
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git


The following commit(s) were added to refs/heads/JEXL-367 by this push:
     new 3e5c862e JEXL-367: fixing spillover form JEXL-369
3e5c862e is described below

commit 3e5c862edff121b50d9b43e63d25ac80a826eefe
Author: henrib <he...@apache.org>
AuthorDate: Tue May 3 19:00:08 2022 +0200

    JEXL-367: fixing spillover form JEXL-369
---
 src/main/java/org/apache/commons/jexl3/parser/JexlParser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java b/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
index ed171ba1..d893a0fc 100644
--- a/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
+++ b/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
@@ -382,7 +382,7 @@ public abstract class JexlParser extends StringParser {
      * @param variable the identifier used to declare
      * @param token      the variable name toekn
      */
-    protected void declareVariable(final ASTVar variable, final Token token) {
+    protected void declareVariable(final ASTVar variable, final Token token, boolean lexical) {
         final String name = token.image;
         if (!allowVariable(name)) {
             throwFeatureException(JexlFeatures.LOCAL_VAR, token);