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

Invalid floating point numbers cause InvalidOperationException #64

Open
FabianNitsche opened this issue Dec 11, 2020 · 0 comments
Open

Comments

@FabianNitsche
Copy link

First of all: Thanks for the very good and performant mathematical formula parser.

When only entering "." as a formula or any other invalid floating point number like "..", "..1", "0..1" the TokenReader will skip this, causing the AstBuilder to throw an InvalidOperationException because it expects the token list not to be empty. The token reader should throw an ParseException in this case.

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

1 participant