[antlr-interest] How to throw an Exception when unexpeted token occurs?

Tarun Khanna tarunkhanna at gmail.com
Tue Oct 18 09:15:05 PDT 2005


I guess this is what you are looking for

http://www.antlr.org/doc/err.html#_bb1

Tarun

On 10/18/05, Antón García, Carolina <canton at indra.es> wrote:
>
> Hi,
>  May be this is a stupid question, but... How can I thow an Exception when
> unexpeted token occurs? This just inform of it, but does not thows an
> Exception.
>  Thanks in advance
>  Carolina Antón,
> <canton at indra.es>
>



--
Tarun Khanna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20051018/0cb1b3b4/attachment.html


More information about the antlr-interest mailing list