aboutsummaryrefslogtreecommitdiffstats
path: root/src/read_ntriples.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-10 12:31:29 +0200
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit155f5e2f24c24f5b5ffbf13fcea5cf1a355ec372 (patch)
tree5f5f7009e96379aa0e31cb1db3757f8d6589669f /src/read_ntriples.c
parente8f392d57bf6eba9b62509a32e4073e8b34b18e2 (diff)
downloadserd-155f5e2f24c24f5b5ffbf13fcea5cf1a355ec372.tar.gz
serd-155f5e2f24c24f5b5ffbf13fcea5cf1a355ec372.tar.bz2
serd-155f5e2f24c24f5b5ffbf13fcea5cf1a355ec372.zip
[WIP] Simplify reader and writer flags
[WIP] Testing?
Diffstat (limited to 'src/read_ntriples.c')
-rw-r--r--src/read_ntriples.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/read_ntriples.c b/src/read_ntriples.c
index 6822b64f..7a43e4c2 100644
--- a/src/read_ntriples.c
+++ b/src/read_ntriples.c
@@ -240,7 +240,8 @@ read_STRING_LITERAL(SerdReader* const reader,
static bool
avoid_blank_clashes(const SerdReader* const reader)
{
- return reader->syntax == SERD_TURTLE || reader->syntax == SERD_TRIG;
+ return (reader->syntax == SERD_TURTLE || reader->syntax == SERD_TRIG) &&
+ !(reader->flags & SERD_READ_VERBATIM);
}
static SerdStatus