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

Capture lexer errors #17

Closed
wants to merge 1 commit into from

Conversation

rmdort
Copy link
Contributor

@rmdort rmdort commented Aug 3, 2020

Shall i also throw Chevrotain Error in standard FormulaError format?

throw this.utils.formatChevrotainError(error)

@LesterLyu
Copy link
Owner

I'll take a look tomorrow.
Lexing error are also included: https://github.com/LesterLyu/fast-formula-parser/blob/master/grammar/lexing.js#L280

@LesterLyu
Copy link
Owner

LesterLyu commented Aug 3, 2020

@rmdort
Copy link
Contributor Author

rmdort commented Aug 4, 2020

Cool thanks. That works.

@rmdort rmdort closed this Aug 4, 2020
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

Successfully merging this pull request may close these issues.

2 participants