[antlr-interest] Getting information on failed syntactic pred icate?

mzukowski at yci.com mzukowski at yci.com
Tue Feb 3 12:58:38 PST 2004


Have tried using antlr.Tool's -traceParser flag?  Is this for debugging or
error reporting?  You can also set your debugger in that method and watch to
see what exception gets thrown.

Monty

-----Original Message-----
From: Daniel Shane [mailto:lachinois at hotmail.com] 
Sent: Tuesday, February 03, 2004 11:03 AM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Getting information on failed syntactic predicate?

Hi,

Is it possible to get some information on why a certain syntactic predicate 
failed?

eg. If I have the following rule:

a:
   (b)=> b
  | c

and b does not match, is it possible to have the "reason" why b failed? This

would be the error message generated by:

a:
  b

ideally.

Is this possible?

Thanks in advance!
Daniel Shane

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/


 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/antlr-interest/

To unsubscribe from this group, send an email to:
 antlr-interest-unsubscribe at yahoogroups.com

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/ 


 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/antlr-interest/

To unsubscribe from this group, send an email to:
 antlr-interest-unsubscribe at yahoogroups.com

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list