Re: Why all the tokens return line number = 1 using getLine()?
Posted By:
Terence_Parr
Posted On:
Tuesday, February 12, 2002 12:12 AM
You have to call newline() at the appropriate time. Normally this consists of calling newline() from within a lexer rule that matching
.