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

"dar" fails to parse to "deciare" #6

Open
turboladen opened this issue Dec 3, 2020 · 0 comments
Open

"dar" fails to parse to "deciare" #6

turboladen opened this issue Dec 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@turboladen
Copy link
Contributor

While the case in the summary probably isn't realistic, it's representative of other cases as well. In this case, wise_units (greedily) parses the prefix "da" (deka), leaving the "r" token, which doesn't parse, thus causing an error. In this case we'd actually like to non-greedily parse the "d" in "dar", leaving the parser to parse "d" and "ar".

@turboladen turboladen added the bug Something isn't working label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant