diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index c2c20b82..83f13e8c 100644 --- a/src/reader.c +++ b/src/reader.c @@ -8,6 +8,7 @@ #include "serd_internal.h" #include "stack.h" #include "system.h" +#include "world.h" #include "serd/stream.h" #include "serd/uri.h" @@ -28,7 +29,7 @@ r_err(SerdReader* const reader, const SerdStatus st, const char* const fmt, ...) va_start(args, fmt); const Cursor* const cur = &reader->source.cur; const SerdError e = {st, cur->filename, cur->line, cur->col, fmt, &args}; - serd_error(reader->world, &e); + serd_world_error(reader->world, &e); va_end(args); return st; } |