[antlr-interest] Re: Get the line number in my deprecated messages

Monty Zukowski monty at codetransform.com
Wed Jun 2 10:05:13 PDT 2004


There is some sort of getLine() in the CommonToken class as well.

Monty

On Jun 2, 2004, at 5:40 AM, pwolleba wrote:

> Thanks for your response Monty, it got me one step further!! :o)
>
> As far I can see the getLine method is inside the CharScanner class,
> I can however not see any solution for reaching this class from my
> parser class.
Monty Zukowski

ANTLR & Java Consultant -- http://www.codetransform.com
ANSI C/GCC transformation toolkit -- 
http://www.codetransform.com/gcc.html
Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html



 
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