|Can (f)lex handle the NULL character? firstname.lastname@example.org (1999-05-07)|
|Re: Can (f)lex handle the NULL character? email@example.com (1999-05-09)|
|Re: Can (f)lex handle the NULL character? firstname.lastname@example.org (1999-05-16)|
|Re: Can (f)lex handle the NULL character? email@example.com (1999-05-20)|
|From:||firstname.lastname@example.org (Darrin Cardani)|
|Date:||7 May 1999 01:12:39 -0400|
|Organization:||Total Integration, Inc.|
|Keywords:||lex, question, comment|
I'm working on parsing PDF files. They can contain raster image data, and
as such, can have the NULL character (a 0 byte) in them. Reading this
causes flex to go into an infinite loop saying "NUL or End of Buffer" over
and over. Is there any way to get it to properly pass the NULL Character?
I've tried various patterns such as \x00 and '\0', etc. but none of them
work. Am I missing something, or is it impossible?
[Hmmn, that oughta work. -John]
Return to the
Search the comp.compilers archives again.