-proceedOnError option (like ECJ) ?
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Nov 25 11:54:18 UTC 2024
I was about to suggest a similar thing. E.g. use a custom compiler step
to "fix up" the AST before it gets to the backend.
Maurizio
On 24/11/2024 12:05, Jan Lahoda wrote:
> It may be much simpler to fix the AST by replacing the erroneous parts
> with the exceptions at the boundary between the front-end and the
> back-end, hence the back-end would only work on AST which represents
> non-erroneous code. This is actually what NetBeans is doing (both in
> the current, and historical implementation of this feature).
More information about the compiler-dev
mailing list