diff options
author | David Robillard <d@drobilla.net> | 2023-04-03 08:51:58 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-05 09:45:15 -0400 |
commit | b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616 (patch) | |
tree | 538dc4c909648d45d91a33008b797ba0eccc2de7 /src/n3.c | |
parent | f93c3fdd6c7d6ca61bec55d3c1ffae7e7c793913 (diff) | |
download | serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.tar.gz serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.tar.bz2 serd-b8638fb5c51bcb4d51c6d13c2ee1e4734dfdd616.zip |
Improve writer error handling
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -6,6 +6,7 @@ #include "serd_internal.h" #include "stack.h" #include "string_utils.h" +#include "try.h" #include "uri_utils.h" #include "serd/serd.h" @@ -27,13 +28,6 @@ _Pragma("clang diagnostic ignored \"-Wmissing-declarations\"") # define SERD_FALLTHROUGH #endif -#define TRY(st, exp) \ - do { \ - if (((st) = (exp))) { \ - return (st); \ - } \ - } while (0) - static bool fancy_syntax(const SerdReader* const reader) { |