[comp.unix.programmer] Lex/Flex yylex size.

felix@laas.fr (Francois Felix INGRAND) (06/21/91)

I recently discovered that the version of Lex I am using has a limit on the
size of yylex (200). lex did not even report the problem... and it took me a
while to discover this limit.

Anyway, I was just wondering if flex has a similar limit or is dynamically allocated...
(although I am not sure how this can be done without setting somewhere some
kind of buffer limit...)

The reason I want such big yylex, is that I am writing a parser which allow
string tokens over more than one line.... 

string (\"[^\"]*\")

May be , there is a trick I do not know to parse that (using yymore??...).

(Please, answer by mail as I do not read these newsgroups on a regular basis)
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Francois Felix INGRAND                   "Read my Lisp... No new syntax" (nil)
felix@laas.fr