[antlr-interest] How to throw an Exception when unexpeted token
occurs?
Antón García, Carolina
canton at indra.es
Tue Oct 18 09:18:48 PDT 2005
I thougth that when I found this link weeks ago but maybe I dont read as well as I should... I didnt find the solution here, but many thanks anyway; I'll read again!
Carol
-----Mensaje original-----
De: Tarun Khanna [mailto:tarunkhanna at gmail.com]
Enviado el: martes, 18 de octubre de 2005 18:15
Para: Antón García, Carolina
CC: ANTLR Interest
Asunto: Re: [antlr-interest] How to throw an Exception when unexpeted token occurs?
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/6997a532/attachment-0001.html
More information about the antlr-interest
mailing list