pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
241 stars 74 forks source link

fy_emit_event_vcreate doesn't set type #38

Closed kdubb closed 3 years ago

kdubb commented 3 years ago

fy_event.type is never set by the event create method.

kdubb commented 3 years ago

Thank you for the new API 🎉

pantoniou commented 3 years ago

Err, which branch are you looking at. In master branch at fy-event.c line 239: fye->type = type;

pantoniou commented 3 years ago

Oops, there was indeed a patch missing... should be okay now.