[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solaris 8 lex vs flex
From: |
Shawn Ferry |
Subject: |
Solaris 8 lex vs flex |
Date: |
Mon, 2 Jun 2003 14:15:12 -0400 |
It appears that lex cannot parse the current cflex.l
The work around is simple, I installed flex.
Solaris 8
Cfengine 2.0.7p3
lex: Software Generation Utilities (SGU) Solaris-ELF (4.0)
flex version 2.5.4
While trying to compile, I get the following error.
/bin/bash ../ylwrap `test -f 'cflex.l' || echo './'`cflex.l lex.yy.c
cflex.c -- lex
got /data/cfengine-2\.0\.7p3/src/
"/data/cfengine-2.0.7p3/src/cflex.l":line 489: Error: Too many states
606/1000 nodes(%e), 8896/9000 positions(%p), 801/800 (%n), 136945
transitions,
206/10000 packed char classes(%k), 11512/16000 packed transitions(%a),
0/30000 output slots(%o)
make[1]: *** [cflex.c] Error 1
Further testing reveals:
lex ./cflex.l
"./cflex.l":line 489: Error: Too many states
606/1000 nodes(%e), 8896/9000 positions(%p), 801/800 (%n), 136945
transitions,
206/10000 packed char classes(%k), 11512/16000 packed transitions(%a),
0/30000 output slots(%o)
flex ./cflex.l
(No Errors)
- Solaris 8 lex vs flex,
Shawn Ferry <=