RE: »Ø¸´£º Re: [antlr-interest] token position detection problem

Micheal J open.zone at virgin.net
Mon May 1 17:50:14 PDT 2006


Hi Robert,

> As showed on the attached picture, in the 4th line "	
> System.out.println(8);", the position of '8'
> is detected as line = 4, column=28,the only TAB character 
> before "System" is conted as 8 spaces; I made an exact  same 
> text by copy and paste,this time the position of 8 inside 
> method add is line=17, column=24, the TAB inside is counted 
> as 4 correctly.

Do you have a test case for this?. Perhaps a small grammar, driver program
that runs it and a test input file that demonstrates the problem.

Cheers,

Micheal



More information about the antlr-interest mailing list