aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-11-05 10:33:56 +0100
committerDavid Robillard <d@drobilla.net>2017-11-05 10:33:56 +0100
commit633741dd0994d671d5966163a140db4c89ef076b (patch)
tree4d5823a9f75d7b2b8a82d7bb4bb8d3d1d62d7f72 /src/reader.c
parent7e064a246c6bbab563a3ade79efae0055e99ed44 (diff)
downloadserd-633741dd0994d671d5966163a140db4c89ef076b.tar.gz
serd-633741dd0994d671d5966163a140db4c89ef076b.tar.bz2
serd-633741dd0994d671d5966163a140db4c89ef076b.zip
Make reader strict by default
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c
index 36f37bdb..30b308d0 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -1772,6 +1772,7 @@ serd_reader_new(SerdSyntax syntax,
me->syntax = syntax;
me->cur = cur;
me->next_id = 1;
+ me->strict = true;
me->rdf_first = push_node(me, SERD_URI, NS_RDF "first", 48);
me->rdf_rest = push_node(me, SERD_URI, NS_RDF "rest", 47);