Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information