diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/n3.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -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) { |