Skip to content

Conversation

@msquire
Copy link
Contributor

@msquire msquire commented Jul 9, 2025

After an error has occurred the expected behaviour is for parsing to continue unless the INI_STOP_ON_FIRST_ERROR option is set. However when INI_ALLOW_NO_VALUE is set name only options are currently silently ignored after an error.

This fixes that minor bug and adds a new test case because it is not exposed by any of the existing ones.

processed after an error has occurred.  Adds an additional test case because
the bug is not exposed by any of the existing ones.
Copy link
Owner

@benhoyt benhoyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! And the new test file looks reasonable to me.

@benhoyt benhoyt merged commit 498f34b into benhoyt:master Jul 9, 2025
3 checks passed
@msquire msquire deleted the fix-name-only-after-error branch July 9, 2025 22:15
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

Successfully merging this pull request may close these issues.

2 participants