|Possible lex bug? firstname.lastname@example.org (1992-09-02)|
|Re: Possible lex bug? email@example.com (1992-09-03)|
|From:||firstname.lastname@example.org (Steve Masticola)|
|Organization:||Rutgers Univ., New Brunswick, N.J.|
|Date:||Wed, 2 Sep 1992 19:49:29 GMT|
|Keywords:||lex, errors, comment|
Has anyone else come across the following possible bug in lex? I'd
like to ignore certain characters, including vertical tab (\v,
^K, \013, etc.) When I included the line
[ \v\f\r\t] ;
in the source file, vertical tabs fell through. However,
[ ^K\f\r\t] ;
[ \013\f\r\t] ;
works. I'm not thrilled about this, though, because it means
hard-coding a control character or ASCII code.
I'm running Sun's version of lex on a Sparc-2, in case it makes a
difference, but another site has reported the same problem. I don't
know what equipment they have there.
Thanks for any help!
- Steve (email@example.com).
[AT&T lex has a lot of bugs, I can't say I'm surprised to hear about
another one. Flex handles it correctly. -John]
Return to the
Search the comp.compilers archives again.