aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/n3.c b/src/n3.c
index 48a7aba0..38505ee2 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -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)
{