>Hi, I'm trying to port some lex source from UTS (amdahl unix variant) to
>Solaris and something that compiled fine stops working. The details are:
>$ uname -a
>SunOS gandalf 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-1
>$ lex -V
>lex: Software Generation Utilities (SGU) SunOS/ELF (LK-2.0 (S/I) -
>^C$ lex exprlex.l
>"exprlex.l":line 83: Error: Definitions too long
>0/1000 nodes(%e), 0/10000 positions(%p), 1/500 (%n), 0 transitions,
>0/10000 packed char classes(%k), 0/20000 packed transitions(%a), 0/32000
>The lex file works fine when I cut it down to 43 definitions (from 200+) -
>does anyone have an idea what's going on? Am I missing some flag or
>something or should I try the gnu lex.
of some arrays. it looks a bit like you may have exceeded the limit.
or get flex, the gnu lex. i like it a lot better. for a start, it
has exclusive start states. most of my lexical stuff works ok with
either, but when i need a big hammer, i use flex.
Jay Scott 512-835-3553
Applied Research Labs, Computer Science Div.
University of Texas at Austin