aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-05 17:26:04 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commitcaa74939cba8b1cd357e553efca9bec5074b1c53 (patch)
tree0efa5edcd727686b3c32a29992fb4cfb502cb121 /src/n3.c
parentb1d30dc791348eacd44ebd6a00d0cf166a9e1cf5 (diff)
downloadserd-caa74939cba8b1cd357e553efca9bec5074b1c53.tar.gz
serd-caa74939cba8b1cd357e553efca9bec5074b1c53.tar.bz2
serd-caa74939cba8b1cd357e553efca9bec5074b1c53.zip
Remove support for reading Turtle named inline nodes extension
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/n3.c b/src/n3.c
index e713a828..998dd2a6 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1053,21 +1053,6 @@ read_BLANK_NODE_LABEL(SerdReader* const reader,
return SERD_SUCCESS;
}
-static Ref
-read_blankName(SerdReader* const reader)
-{
- if (skip_byte(reader, '=') || eat_byte_check(reader, '=') != '=') {
- r_err(reader, SERD_ERR_BAD_SYNTAX, "expected '='\n");
- return 0;
- }
-
- Ref subject = 0;
- bool ate_dot = false;
- read_ws_star(reader);
- read_iri(reader, &subject, &ate_dot);
- return subject;
-}
-
static SerdStatus
read_anon(SerdReader* const reader,
ReadContext ctx,
@@ -1083,11 +1068,6 @@ read_anon(SerdReader* const reader,
*ctx.flags |= empty ? SERD_EMPTY_S : SERD_ANON_S_BEGIN;
} else {
*ctx.flags |= empty ? SERD_EMPTY_O : SERD_ANON_O_BEGIN;
- if (peek_delim(reader, '=')) {
- if (!(*dest = read_blankName(reader)) || !eat_delim(reader, ';')) {
- return SERD_ERR_BAD_SYNTAX;
- }
- }
}
if (!*dest) {