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

Bug/581 read any signs #587

Merged
merged 3 commits into from
Jan 10, 2025
Merged

Bug/581 read any signs #587

merged 3 commits into from
Jan 10, 2025

Conversation

aannleax
Copy link
Member

@aannleax aannleax commented Jan 9, 2025

The function for parsing large decimals parse_large_decimal_literal crashed when dealing with the inputs + and -. It also, in my opinion, wrongly converted the string +. into zero. This PR includes a check that ensures that the string contains at least one digit.

Fixes #581.

@mmarx mmarx added this to the Release 0.7.0 milestone Jan 9, 2025
@mmarx mmarx added bug Something isn't working Parser Rule-Parser-Related Issue labels Jan 9, 2025
@aannleax aannleax merged commit 3b250d7 into main Jan 10, 2025
8 checks passed
@aannleax aannleax deleted the bug/581-read-any-signs branch January 10, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Parser Rule-Parser-Related Issue
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Bug: Reading signs with 'any' in format attribute fails
2 participants