diff options
Diffstat (limited to 'src/read_turtle.c')
-rw-r--r-- | src/read_turtle.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/read_turtle.c b/src/read_turtle.c index d8a5de3e..03d1950f 100644 --- a/src/read_turtle.c +++ b/src/read_turtle.c @@ -581,9 +581,8 @@ read_verb(SerdReader* reader, SerdNode** const dest) if (node->length == 1 && serd_node_string(node)[0] == 'a' && next != ':' && !is_PN_CHARS_BASE(next)) { serd_stack_pop_to(&reader->stack, orig_stack_size); - return ((*dest = push_node(reader, SERD_URI, NS_RDF "type", 47)) - ? SERD_SUCCESS - : SERD_BAD_STACK); + *dest = reader->rdf_type; + return SERD_SUCCESS; } if ((st = read_PrefixedName( |