[antlr-interest] Error nodes created upon syntax error
Gavin Lambert
antlr at mirality.co.nz
Sat Jan 12 01:34:32 PST 2008
At 08:18 12/01/2008, Terence Parr wrote:
>The Simple solution is to turn this off, relying on a
>normal "exit rule upon syntax error" mechanism but leave
>the insertion and deletion mechanism as an option by
>overriding methods.
It'd be nicer if there were an "options" entry that controlled
this (both on a per-rule basis as well as a grammar-wide basis).
(Of course, I'm a big fan of options, anyway; I'm still missing
caseInsensitiveLiterals and the token aliases...)
More information about the antlr-interest
mailing list