Post by David Dool » Mon, 29 Apr 1996 04:00:00

Is this a good newsgroup for asking lex
questions?  If not, would some one kindly
point me at the appropriate group.

Dave Doolin


1. Lex maximum - Error when compiling with "lex"

I am trying to compile a long lex file, and am getting different errors.
I am using an SGI, with IRIX 5.3 and lots of memory.  When I reach the
lex limit, I first get:

"lex_test.l":line 423: Error: Too many positions for one state - acompute
3756/8000 nodes(%e), 5716/20000 positions(%p), 2/4000 (%n), 0 transitions,
8/20000 packed char classes(%k), 0/16000 packed transitions(%a), 0/24000 output slots(%o)

I increased the parameters to:

%e 10000
%p 30000
%n 5000
%k 30000
%a 20000
%o 30000

The results when compiling with the previous options are:

"lex_test.l":line 430: Error: Too many positions for one state - acompute
3756/10000 nodes(%e), 5716/30000 positions(%p), 2/5000 (%n), 0 transitions,
8/30000 packed char classes(%k), 0/20000 packed transitions(%a), 0/30000 output slots(%o)

Has anyone had this problem, and solved it?

Ruben Yanas

2. Setup a firewall server

3. FAQ for lex + yacc? (was Re: using lex with strings, not files)

4. can't boot from hard drive

5. No X programs work / Need flex or lex

6. Kernel 2.4.2-ac19 / ac20

7. lex/yaxx --> C++ output

8. limit the number of runaway windows how?

9. lex question

10. Problem with Lex

11. Looking for a bit oriented Lex/yacc

12. Object-oriented lex(flex) and yacc(bison) for c++?

13. lex yywrap() call