help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lexical analysis on buffers greater then 4GB's in size...


From: Andre Stechert
Subject: Lexical analysis on buffers greater then 4GB's in size...
Date: Fri, 17 Dec 2004 16:46:36 -0800

Hi there,

        I'm tokenizing some largish chunks of data with flex (bigger than
4GBs per chunk).
Because yy_n_chars (skel.c, scan.c, initscan.c) is defined as an int (32
bits by default for
64 bit targets in gcc), it fails, exiting with "fatal flex scanner internal
error--end of buffer missed".
I can submit a patch against 2.5.4 (just make the int a long int...) if
anyone thinks this is
worth fixing.  Looking forward to your reply...

Cheers,
Andre

------------------------------------------
Looksmart
Andre David Stechert
Principal Architect, Web Search
address@hidden <mailto:address@hidden>
625 Second Street
San Francisco, CA 94107
tel: (415) 348-7112
fax: (415) 348-7033
------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]