commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (JEXL-85) 2.0 grammar finishing touches & debugger update
Date Thu, 20 Aug 2009 12:15:14 GMT


Sebb commented on JEXL-85:

Currently the behaviour of a multi-statement Expression is that a warning is logged, and the
FIRST statement is taken as the value.

The patch changes the behaviour so that there is no warning, and the LAST statement is taken
as the value.

I don't know which is more sensible going forward, nor do I mind which approach is taken,
but it seems to me that the change needs to be agreed.

> 2.0 grammar finishing touches & debugger update
> -----------------------------------------------
>                 Key: JEXL-85
>                 URL:
>             Project: Commons JEXL
>          Issue Type: Improvement
>            Reporter: Henri Biestro
>             Fix For: 2.0
>         Attachments: JEXL-85.patch, JEXL-85.patch, JEXL-85.patch, JEXL-85.patch
> The Parser.jjt carries some extras that are not (longer) necessary (the "debug" field,
> Tthe {Expression,Statement,Reference}Expression dont need to create real nodes.
> There are a few places where the LOOKAHEAD can be reduced or more explicit.
> Some expressions (Reference) are really hard to read partly due to formatting.
> The Debugger is also out of sync with the latest grammar updates (Map literals, for).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message