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 emitter states handling when write_indicator fails #290

Closed
wants to merge 1 commit into from

Commits on Apr 9, 2024

  1. Fix emitter states handling when write_indicator fails

    There are cases where yaml_emitter_write_indicator fails.
    In that case POP is called on emitter->indents but not on emitter->states,
    which results in a leftover event in the stack, and later POP is called
    on an empty emitter->indents stack.
    
    This commit does not fix the case of the failing yaml_emitter_write_indicator.
    This is still investigated.
    perlpunk committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    ff577b9 View commit details
    Browse the repository at this point in the history