You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Matthieu Riou (JIRA)" <ji...@apache.org> on 2008/10/17 23:57:44 UTC
[jira] Created: (ODE-390) Exit compiler on parser failure
Exit compiler on parser failure
-------------------------------
Key: ODE-390
URL: https://issues.apache.org/jira/browse/ODE-390
Project: ODE
Issue Type: Improvement
Components: SimPEL
Reporter: Matthieu Riou
The current parser implementation, mostly thanks to ANTLR, is very good at recovering from lexing and parsing errors and continuing the parsing all the way down. The goal is to report as many errors upfront. as possible. But at the moment the compiler tries to build an OModel even if the parser failed which shouldn't be the case as it results in duplicate reports for several errors.
Parsing and compilation should be two distinct phases and the compiler should attempt compilation if parsing failed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.