solaris lex error
Am deploying a lex/yacc solution trying this grammar. The problem comes when i want to compile .lex file using this command: lex -t "file.lex"
I get this error:Error: Parse tree too big Try using %e num
Any 开发者_运维技巧help please thnks.
I have a similar lex (same output from lex -V
) and this grammar works fine for me unchanged (Solaris 10/SPARC) so I suspect you may need a patch. pkginfo
output below.
$ pkginfo -l SUNWbtool
PKGINST: SUNWbtool
NAME: CCS tools bundled with SunOS
CATEGORY: system
ARCH: sparc
VERSION: 11.10.0,REV=2005.01.21.15.53
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: software development utilities, including ar, dis, dump, elfdump, lex, lorder, mcs, nm, prof, ranlib, rpcgen, size, strip, tsort, and yacc
PSTAMP: on10ptchfeat20090911051613
INSTDATE: Mar 15 2011 15:46
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 48 installed pathnames
8 shared pathnames
2 linked files
8 directories
24 executables
1874 blocks used (approx)
$
精彩评论