Skip to content

Fix error on expect_optional_identifier #18

Merged
diondokter merged 2 commits into
diondokter:masterfrom
JJaviMS:fix/fix_optional_identifier
Jan 2, 2026
Merged

Fix error on expect_optional_identifier #18
diondokter merged 2 commits into
diondokter:masterfrom
JJaviMS:fix/fix_optional_identifier

Conversation

@JJaviMS

@JJaviMS JJaviMS commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Hi, I have found what I think is an error on expect_optional_identifier.
The problem is that the internal index was advanced no matter if the optional identifier was present or not. I assume this is not the intended behaviour because as the identifier could be present or not you may lose data if that identifier is not present.

I think the new test case that I have added checks this behavoior pretty well.

@diondokter

Copy link
Copy Markdown
Owner

Good catch! Thanks :D

@diondokter diondokter merged commit 0f04bd7 into diondokter:master Jan 2, 2026
4 checks passed
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