diff options
author | David Robillard <d@drobilla.net> | 2024-06-23 16:27:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-06-23 16:36:03 -0400 |
commit | 24c22074662711dbb6bac2eadca557f98f356a9a (patch) | |
tree | 40b0f6639adc19078ca3f9a565caede8e14be88d | |
parent | b6c9214d2077c87fa19cc5431732f1b496797bed (diff) | |
download | serd-24c22074662711dbb6bac2eadca557f98f356a9a.tar.gz serd-24c22074662711dbb6bac2eadca557f98f356a9a.tar.bz2 serd-24c22074662711dbb6bac2eadca557f98f356a9a.zip |
Gracefully handle errors while writing the end of anonymous nodes
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/n3.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -3,10 +3,11 @@ serd (0.32.3) unstable; urgency=medium * Clean up enum declarations * Fix library current_version on MacOS * Fix parsing NQuads lines with no space before the final dot + * Gracefully handle errors while writing the end of anonymous nodes * Support reading lone lists in lax mode * Treat out of range unicode characters as errors - -- David Robillard <d@drobilla.net> Sun, 09 Jun 2024 22:15:14 +0000 + -- David Robillard <d@drobilla.net> Sun, 23 Jun 2024 19:02:38 +0000 serd (0.32.2) stable; urgency=medium @@ -1115,7 +1115,7 @@ read_anon(SerdReader* const reader, read_ws_star(reader); if (reader->end_sink) { - reader->end_sink(reader->handle, deref(reader, *dest)); + st = reader->end_sink(reader->handle, deref(reader, *dest)); } *ctx.flags = old_flags; |