weixin_39765325
weixin_39765325
2020-12-08 19:20

lex issue


yacc -d fileio.y
Compiling y.tab.c...
lex fileio.l
"fileio.l":line 54: Error: Too many transitions 
Try using %a num
make[2]: *** [lex.yy.c] Error 1

i'm using posix compatible lex https://github.com/sabotage-linux/lex as lex program, and it requires that the maximum number of transitions be specified with the %a directive. apparently the build system assumes that lex is a symlink to flex oslt.

该提问来源于开源项目:ghaerr/microwindows

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答

为你推荐