X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/da090173a115e3450b23e6b84aa98972c4f1619e..refs/heads/master:/index.c diff --git a/index.c b/index.c index 628934e..1b03645 100644 --- a/index.c +++ b/index.c @@ -99,7 +99,7 @@ void index_merge(indexdata *idx, int is_explicit, wchar_t *tags, word *text, * warn (and drop it, since it won't be referenced). */ if (is_explicit) { - error(err_nosuchidxtag, fpos, tags); + err_nosuchidxtag(fpos, tags); continue; } @@ -123,7 +123,7 @@ void index_merge(indexdata *idx, int is_explicit, wchar_t *tags, word *text, * see if the cases match. */ if (ustrcmp(t->name, existing->name)) { - error(err_indexcase, fpos, t->name, + err_indexcase(fpos, t->name, &existing->implicit_fpos, existing->name); }