-
Notifications
You must be signed in to change notification settings - Fork 1
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
"MiBy" (mebibytes) prefix unrecognized #39
Comments
I incorporated the test into a lower level of wise_units, but the problem seems to be somewhere in pest's generated parser:
results in this internal error.
|
@danielrh Thanks for the ticket! And yeah, it looks like there's a precedence bug in the pest-generated parser. Thanks for investigating--I pulled your test into a branch, and it's passing now. I'll want to add some more tests to this branch, but if you have the time, would you mind trying out my branch to see if it fixes your issues? |
Thanks for moving quickly here! prefix wat |
Gi fails as well but Ti works, interestingly |
Do you know why Kibi isn’t appearing in this autogenerated table? |
Hmmm the top of symbol.pest with the current change says //----------------------------------------------------------------------------- Is that related to the missing table entry in parser.rs? |
I may have a fix in #40 |
…ring Add more tests and fix bug in prefix.rs
Unfortunately, that used to be the case, but is currently a misnomer. I diverged from using the repo's atom_generator some time ago. Embarrassingly, I |
Hi Folks
I tried running this program
https://github.com/danielrh/wise_units_example/blob/mebi/src/main.rs
and this snippet fails
with output
I'd like to be able to use the SI Mebibyte units in my application, but the prefix does not seem to be recognized
I see it in the parser, but I can't find any tests for this sort of unit-- is there something I can do to fix the issue?
The text was updated successfully, but these errors were encountered: