-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flex: input rules are too complicated (>= 32000 NFA states)" #572
Comments
That's a fun error. Can you share your input file? |
#define MAXIMUM_MNS 31999 |
It's a performance parameter for the Flex generation process. Increasing it might let Flex exhaust your system memory or make it take a very long time to produce your scanner. It's hard to predict whether the generated scanner would be noticably slow or unusually large. Did you try it? If so, what happened? |
flex version 2.6.4
Error reported as follows
flex: input rules are too complicated (>= 32000 NFA states)"
How do I solve this problem without generating cpp files
The text was updated successfully, but these errors were encountered: