[ET Trac] [Einstein Toolkit] #2089: piraha uses Carp::confess() rather than CST_error
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Nov 21 19:47:35 CST 2017
#2089: piraha uses Carp::confess() rather than CST_error
--------------------+-------------------------------------------------------
Reporter: rhaas | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: Cactus | Version: development version
Keywords: piraha |
--------------------+-------------------------------------------------------
It really shouldn't. Instead it should use the CST provided CST_error
function and continue parsing. Right now it stops at the first parsing
error.
I think this has been a point of contention of mine before and I do
understand that recovering from a parse error is hard (and is why eg gcc
does no longer use a auto-generated parser but instead a hand-written one
apparently). However failing after the first parsing error is really
annoying. At least it should continue with the next ccl file.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2089>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list