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

liblokatt: filter: better error messages #21

Open
amhk opened this issue Mar 11, 2015 · 0 comments
Open

liblokatt: filter: better error messages #21

amhk opened this issue Mar 11, 2015 · 0 comments

Comments

@amhk
Copy link
Owner

amhk commented Mar 11, 2015

Have create_filter accept an optional out-paramter (of type struct strbuf *). If there is an error while creating the filter, the strbuf should contain a message intended to be shown to the end user.

The lexer already contains logic to pinpoint what character in the input caused problems. The parser needs to be refined -- perhaps add more logic to tokens about where in the input they came from?

@amhk amhk changed the title filter: better error messages liblokatt: filter: better error messages Apr 13, 2015
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

1 participant