aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-10 20:14:24 +0200
committerDavid Robillard <d@drobilla.net>2018-12-30 17:58:17 -0500
commit94f49fa72fdfa32ce798969af22867fde2fd73e9 (patch)
tree9b94bc6117864f56ab77fbe4d16f75dcdd859f15 /src/reader.c
parent9fd4ff5a6470f58916d7cd8578bcb839f9b5feaa (diff)
downloadserd-94f49fa72fdfa32ce798969af22867fde2fd73e9.tar.gz
serd-94f49fa72fdfa32ce798969af22867fde2fd73e9.tar.bz2
serd-94f49fa72fdfa32ce798969af22867fde2fd73e9.zip
Move error handling to world
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 1c4c5104..a9db44f9 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -35,7 +35,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 0;
}