From a083c64f506175029280ff76defa0ad7d7ae2ea0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 28 Jun 2020 23:26:48 +0200 Subject: Simplify input stream API --- src/read_nquads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/read_nquads.c') 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; -- cgit v1.2.1