X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/39ed44f15f44726e08401b23b65dbbdc8ec5db8b..HEAD:/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); }