Skip to content
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

Shouldn't print all categories in error message #151

Closed
gdetrez opened this issue Jul 20, 2015 · 0 comments
Closed

Shouldn't print all categories in error message #151

gdetrez opened this issue Jul 20, 2015 · 0 comments
Milestone

Comments

@gdetrez
Copy link
Contributor

gdetrez commented Jul 20, 2015

When bnfc can't find productions for a given category it prints the following error message:

bnfc: user error (No production for Signal_name, appearing in rule Actual_designator_l. Actual_designator ::= Signal_name . Defined categories: # Ident Integer String ...     

but when the grammar gets large, the list of defined categories is drowning the error message.
Maybe this instead:

No production for Signal_name, appearing in rule
    Actual_designator_l. Actual_designator ::= Signal_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants