Skip to content

Detect and report invalid identifiers #186

Description

@gdetrez

This issue was first discussed in the mailing list

The lbnf reference specify that "An identifier is a nonempty sequence of letters, starting with a capital letter." but bnfc will accept a rule such as cat . Type = "Foo";, generating invalid haskell code.

Instead, bnfc should detect the invalid identifier and print a error message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

LBNFConcerning the LBNF syntax and its checkingenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions