Lex/Flex yylex size.

Francois Felix INGRAND felix at laas.fr
Fri Jun 21 17:14:37 AEST 1991


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 at laas.fr



More information about the Comp.unix.questions mailing list