libfyaml 0.9.5 added fy_document_state_shorten_tag which basically does what I spent the better part of a day implementing for libasdf. It was a sorely missing feature in libfyaml (write shortened tags using the tag prefix directives in the document) even though it really belongs in libfyaml to begin with.
Have to test it out and make sure it suits our needs and/or if it can be improved.
Will still keep the old tag-shortening code for now either way to keep support for older libfyaml versions, but otherwise use it if possible.
libfyaml 0.9.5 added
fy_document_state_shorten_tagwhich basically does what I spent the better part of a day implementing for libasdf. It was a sorely missing feature in libfyaml (write shortened tags using the tag prefix directives in the document) even though it really belongs in libfyaml to begin with.Have to test it out and make sure it suits our needs and/or if it can be improved.
Will still keep the old tag-shortening code for now either way to keep support for older libfyaml versions, but otherwise use it if possible.