[ 
https://issues.apache.org/jira/browse/SLING-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger reassigned SLING-4219:
----------------------------------------

    Assignee: Felix Meschberger

> [Sightly] Unrecognised operators in expressions are not properly reported as 
> syntax errors
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-4219
>                 URL: https://issues.apache.org/jira/browse/SLING-4219
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Radu Cotescu
>            Assignee: Felix Meschberger
>            Priority: Minor
>             Fix For: Scripting Sightly Engine 1.0.0
>
>         Attachments: SLING-4219.patch
>
>
> The 
> {{org.apache.sling.scripting.sightly.impl.compiler.frontend.SightlyParserErrorListener}}
>  handles ANTLR parsing errors, in order to provide more detailed and easier 
> to understand error reporting for Sightly scripts.
> For the cases when ANTLR doesn't provide a {{RecognitionException}}, although 
> the listener still throws an error, the error is because the 
> {{SightlyParsingException}} is instantiated with a {{null}} cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to