diff options
author | David Robillard <d@drobilla.net> | 2018-05-10 20:14:24 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-30 17:58:17 -0500 |
commit | 94f49fa72fdfa32ce798969af22867fde2fd73e9 (patch) | |
tree | 9b94bc6117864f56ab77fbe4d16f75dcdd859f15 /src/reader.c | |
parent | 9fd4ff5a6470f58916d7cd8578bcb839f9b5feaa (diff) | |
download | serd-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.c | 2 |
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; } |