首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >solaris lex错误

solaris lex错误
EN

Stack Overflow用户
提问于 2011-09-27 18:52:50
回答 1查看 340关注 0票数 2

我部署了一个lex/yacc解决方案,尝试使用这个grammar。当我想使用以下命令编译.lex文件时出现问题: lex -t "file.lex“

我收到此错误:错误:解析树太大尝试使用%e num

任何帮助都请thnks。

EN

回答 1

Stack Overflow用户

发布于 2011-09-27 22:59:15

我有一个类似的lex (来自lex -V的相同输出),这个语法对我来说没什么问题(Solaris10/SPARC),所以我想您可能需要一个补丁。下面的pkginfo输出。

代码语言:javascript
复制
$ 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)

$
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7567931

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档