diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-28 17:32:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-28 17:32:07 +0000 |
commit | d04af2267985bcac279f3ffad1ce6ee9fec2d44f (patch) | |
tree | 416a18e84777806b55f50c7fb1147e9c88c4ef4b /tbl_opts.c | |
parent | b8a3bef0831e00e2921ed5feb59338efcca0984d (diff) | |
download | mandoc-d04af2267985bcac279f3ffad1ce6ee9fec2d44f.tar.gz |
* Polish tbl(7) error reporting.
* Do not print out macro names in tbl(7) data blocks.
* Like with GNU tbl, let empty tables cause a blank line.
* Avoid producing empty tables in -Tman.
Diffstat (limited to 'tbl_opts.c')
-rw-r--r-- | tbl_opts.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -80,7 +80,8 @@ arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key) switch (key) { case KEY_DELIM: - mandoc_msg(MANDOCERR_TBLEQN, tbl->parse, ln, *pos, NULL); + mandoc_vmsg(MANDOCERR_TBLOPT_EQN, tbl->parse, + ln, *pos, "%.*s", len, p + *pos); want = 2; break; case KEY_TAB: |