I am already using yylineno in my Flex, Bison, and C project. However, I would also like to use a column number to pinpoint the exact location of a lexical error on a particular line. Does Flex have no implementation of a column number? The only reason I can of is because the tab character '\t' can be set to accept to any number of spaces. If there is already an implementation I would like to use instead of reinventing the wheel.
I have searched through the book "Lexical Analysis with Flex", Edition 2.6.0, 10 November 2015 by Vern Paxson, Will Estes and John Millaway. I also searched Google but no luck. I hope someone can help. Thanks