Flex problem - input rules are too complicated

Solution Verified - Updated -

Issue

  • On Red Hat Enterprise Linux 6, compiling a flex file reports following error:

    $ lex -i -t myfile.l > myfile.c
    lex: input rules are too complicated (>= 32000 NFA states)
    

Environment

  • Red Hat Enterprise Linux 6
  • flex

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content