Hi there,
In Lex/Flex is there a way to get the position in the character stream (from the start of the file) that a token appears at? Kind of like yylineno except that it returns the character position as an integer?
If not, what's the best way to get at this? Do I need to keep my own counter?
Thanks!