aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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) {