diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-06 19:09:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-06 19:09:00 +0000 |
commit | f8af9067d4fce04d00f200ac8a73574b0e306f9d (patch) | |
tree | 1a3fc7d34cbd677e9114ee5ce220f5ae3afb1b28 /man_validate.c | |
parent | feee5d1a235960cd9737d8171d429d9e4acd27cb (diff) | |
download | mandoc-f8af9067d4fce04d00f200ac8a73574b0e306f9d.tar.gz |
Clean up messages related to plain text and to escape sequences.
* Mention invalid escape sequences and string names, and fallbacks.
* Hierarchical naming.
Diffstat (limited to 'man_validate.c')
-rw-r--r-- | man_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c index 4303ad33..cd776387 100644 --- a/man_validate.c +++ b/man_validate.c @@ -230,7 +230,8 @@ check_text(CHKARGS) cp = n->string; for (p = cp; NULL != (p = strchr(p, '\t')); p++) - man_pmsg(man, n->line, (int)(p - cp), MANDOCERR_BADTAB); + mandoc_msg(MANDOCERR_FI_TAB, man->parse, + n->line, n->pos + (p - cp), NULL); } #define INEQ_DEFINE(x, ineq, name) \ |