On Aug 10, 2006, at 8:28 AM, Zheng, Xiaoran wrote: > > > Why is it that when I am redefining uponEOF() in my lexer, I get > NoSuchElementException? I suggest doing normal debugging and answering the key question so someone can help you: is it in your code or antlr's? if antlr's, where? Ter