Make error message more verbose by a hint to the line (fragment).
This commit is contained in:
parent
c8dd298748
commit
6330dbb8ed
|
|
@ -1272,7 +1272,7 @@ nupa_substitute(dico_t *dico, const char *s, char *r)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*kptr == '\0') {
|
if (*kptr == '\0') {
|
||||||
err = message(dico, "Closing \"}\" not found.\n");
|
err = message(dico, "Closing \"}\" not found in line fragment\n {%s.\n", s);
|
||||||
goto Lend;
|
goto Lend;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue