Tuesday, April 2, 2002 12:19 AM
I want to parse a c++ implementation file with a number of methods. I like to distinguish between two types of methods, separated with a special comment line, e.g.
<-- end of region of interest -->
Can I use the lexer to produce an eof when it reaches this special comment? How do I specify the eof condition in the lexer?