[
https://issues.apache.org/jira/browse/JEXL-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666477#comment-16666477
]
Henri Biestro edited comment on JEXL-278 at 10/28/18 5:14 PM:
--------------------------------------------------------------
- refined logic to better capture ambiguous statements
src/main/java/org/apache/commons/jexl3/parser/Parser.jjt
src/test/java/org/apache/commons/jexl3/Issues200Test.java
src/main/java/org/apache/commons/jexl3/JexlException.java
src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
revision : 1d2be49e6fc0fd8bf70a98cf633991c970657136
was (Author: henrib):
- refined logic to better capture ambiguous statements
src/main/java/org/apache/commons/jexl3/parser/Parser.jjt
src/test/java/org/apache/commons/jexl3/Issues200Test.java
src/main/java/org/apache/commons/jexl3/JexlException.java
src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
revision : 1d2be49e6fc0fd8bf70a98cf633991c970657136
> Ambiguous exceptions should point to actual statement ambiguity
> ---------------------------------------------------------------
>
> Key: JEXL-278
> URL: https://issues.apache.org/jira/browse/JEXL-278
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Henri Biestro
> Assignee: Henri Biestro
> Priority: Minor
> Fix For: 3.2
>
>
> WHAT:
> During parsing, if a JexlException.Ambiguous exception is raised, the
> location information (JexlInfo) points to the last token before the ambiguity.
> HOW:
> When detecting a parsing ambiguity, use the next parsed token as location
> information.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)