~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp of the Halibut error handling mechanism.
[sgt/halibut]
/
index.c
diff --git
a/index.c
b/index.c
index
628934e
..
1b03645
100644
(file)
--- 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) {
* warn (and drop it, since it won't be referenced).
*/
if (is_explicit) {
- err
or(err_nosuchidxtag,
fpos, tags);
+ err
_nosuchidxtag(
fpos, tags);
continue;
}
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)) {
* see if the cases match.
*/
if (ustrcmp(t->name, existing->name)) {
- err
or(err_indexcase,
fpos, t->name,
+ err
_indexcase(
fpos, t->name,
&existing->implicit_fpos, existing->name);
}
&existing->implicit_fpos, existing->name);
}