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 640fb12b..cfc43685 100644 --- a/src/reader.c +++ b/src/reader.c @@ -19,6 +19,7 @@ #include "serd_internal.h" #include "stack.h" #include "system.h" +#include "world.h" #include <errno.h> #include <stdarg.h> @@ -36,7 +37,7 @@ r_err(SerdReader* reader, SerdStatus st, const char* 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; } |