Nothing Special   »   [go: up one dir, main page]

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

bnfc gives unhelpful error messages #144

Closed
danr opened this issue Jun 18, 2015 · 2 comments
Closed

bnfc gives unhelpful error messages #144

danr opened this issue Jun 18, 2015 · 2 comments

Comments

@danr
Copy link
danr commented Jun 18, 2015

On this grammar:

Test.  Test ::= " ")";

bnfc reports:

bnfc: src/LexBNF.x:(80,13)-(86,20): Non-exhaustive patterns in case

The error message could be more helpful! :)

gdetrez added a commit that referenced this issue Jun 25, 2015
It should now say:

    bnfc: syntax error at line 1, column 20 before `)'
@gdetrez
Copy link
Contributor
gdetrez commented Jun 25, 2015

is this better?

bnfc: syntax error at line 1, column 20 before `)'

@danr
Copy link
Author
danr commented Jun 25, 2015

Definitely!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants