hi friends, I am working using antlr. I am using this parser. But I am not able to figure out how to get line number from the text file i.e I want to recognize that this token is from this line in the original text file. Can anybody help me out. Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/