diff options
author | David Robillard <d@drobilla.net> | 2021-08-12 13:23:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 3ea3143632e3577ac5794faed1141e460a11a9fb (patch) | |
tree | fbcf61902714cc54e99fe5c0acdd90fa46e4967e /src | |
parent | fa4c14acdeeabaf7aee0304a57ae7878ecea1776 (diff) | |
download | serd-3ea3143632e3577ac5794faed1141e460a11a9fb.tar.gz serd-3ea3143632e3577ac5794faed1141e460a11a9fb.tar.bz2 serd-3ea3143632e3577ac5794faed1141e460a11a9fb.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')
-rw-r--r-- | src/read_turtle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/read_turtle.c b/src/read_turtle.c index f85c956a..d8a5de3e 100644 --- a/src/read_turtle.c +++ b/src/read_turtle.c @@ -372,7 +372,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); } |