[antlr-interest] Line number in C#

Ipemail at aol.com Ipemail at aol.com
Wed Aug 24 05:48:49 PDT 2005

> public class LineNumberAST : CommonAST
> {
>    private int _line;
>    private int _col;

Thank you.

I'm sure it's something I'm doing but it's still returning the default values 
at the end. Changing initialize(Token tok) to initialize(IToken tok) made the 
compiler happy and _line = tok.getLine(); sets the correct line number, 
except it's not coming back on the other end.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050824/c5b5b3c1/attachment.html

More information about the antlr-interest mailing list