Ryan Emmett
2004-06-11 15:30:55 UTC
I'm working on Assignment 3 and was wondering if there is any way to
access the current character position or line number in Yylex. It
seemed to say in the documentation that yyline and yychar are variables
to be used, but I didn't seem to be able to access this member, or
possibly wasn't accessing it correctly.
Is this possible? Or are we supposed to implement our own increment?
Ryan Emmett
access the current character position or line number in Yylex. It
seemed to say in the documentation that yyline and yychar are variables
to be used, but I didn't seem to be able to access this member, or
possibly wasn't accessing it correctly.
Is this possible? Or are we supposed to implement our own increment?
Ryan Emmett