Skip to content

Conversation

@nielsdos
Copy link
Member

@nielsdos nielsdos commented Jul 2, 2025

Both these issues have the same root cause, their reproducer is extremely similar so I don't duplicate the test.

If the parser invokes the lexer, and the lexer fails, it could've allocated a string which must be freed when the parser backs up. The %destructor list is responsible for this but did not have an entry for fallback yet. Solve the issue by adding such an entry.

Both these issues have the same root cause, their reproducer is
extremely similar so I don't duplicate the test.

If the parser invokes the lexer, and the lexer fails, it could've
allocated a string which must be freed when the parser backs up.
The `%destructor` list is responsible for this but did not have an entry
for `fallback` yet. Solve the issue by adding such an entry.
@nielsdos nielsdos closed this in 4aac98f Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants