aboutsummaryrefslogtreecommitdiffstats
path: root/src/read_nquads.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-06-28 23:26:48 +0200
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commita083c64f506175029280ff76defa0ad7d7ae2ea0 (patch)
tree5e666749e352659d225d9c45c60bee06bd2bfe5c /src/read_nquads.c
parent20eb7727954f9d8b7164146895904bbe595f5932 (diff)
downloadserd-a083c64f506175029280ff76defa0ad7d7ae2ea0.tar.gz
serd-a083c64f506175029280ff76defa0ad7d7ae2ea0.tar.bz2
serd-a083c64f506175029280ff76defa0ad7d7ae2ea0.zip
Simplify input stream API
Diffstat (limited to 'src/read_nquads.c')
-rw-r--r--src/read_nquads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/read_nquads.c b/src/read_nquads.c
index b4e200d4..6f0120d1 100644
--- a/src/read_nquads.c
+++ b/src/read_nquads.c
@@ -44,7 +44,7 @@ read_nquads_statement(SerdReader* const reader)
}
// Preserve the caret for error reporting and read object
- SerdCaret orig_caret = reader->source.caret;
+ SerdCaret orig_caret = reader->source->caret;
if ((st = read_nt_object(reader, &ctx.object, &ate_dot)) ||
(st = skip_horizontal_whitespace(reader))) {
return st;