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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.