Skip to content

Shouldn't print all categories in error message #151

@gdetrez

Description

@gdetrez

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions