aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-12 13:23:59 -0400
committerDavid Robillard <d@drobilla.net>2022-01-28 21:57:07 -0500
commitda7940afb82d8d1dd5321b311f27340f5702aea2 (patch)
tree43f4caf75a0e49a59db03d129ec837ea4972cf25 /src/n3.c
parent4339b6f9cb0da8a9d6519077f4a0ecc385cc382c (diff)
downloadserd-da7940afb82d8d1dd5321b311f27340f5702aea2.tar.gz
serd-da7940afb82d8d1dd5321b311f27340f5702aea2.tar.bz2
serd-da7940afb82d8d1dd5321b311f27340f5702aea2.zip
Split SERD_READ_VERBATIM into two more precise flags
Although the "verbatim" idea is nice and simple, more fine-grained control is necessary since these features (relative URI preservation and blank node label clash avoidance) are useful in different situations.
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index 6d4210b4..ff142976 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -374,7 +374,7 @@ read_IRIREF(SerdReader* const reader, SerdNode** const dest)
return st;
}
- return (reader->flags & SERD_READ_VERBATIM)
+ return (reader->flags & SERD_READ_RELATIVE)
? SERD_SUCCESS
: resolve_IRIREF(reader, *dest, string_start_offset);
}