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

Fix parsing of partial float literals #33

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Fix parsing of partial float literals #33

merged 1 commit into from
Aug 21, 2024

Conversation

aazuspan
Copy link
Owner

Closes #31 by ignoring errors when setting _current_character, allowing parsing of partially entered floats where the source line doesn't include the float token's txt (because asfv1 infers the mantissa).

This causes the diagnostic error to fall on the previous token instead of the partially entered float, but that's not worth worrying about.

@aazuspan aazuspan added the bug Something isn't working label Aug 21, 2024
@aazuspan aazuspan self-assigned this Aug 21, 2024
@aazuspan aazuspan merged commit a46c75d into main Aug 21, 2024
6 checks passed
@aazuspan aazuspan deleted the fix-float-parsing branch August 21, 2024 02:05
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

Successfully merging this pull request may close these issues.

ValueError when entering float parameters
1 participant