summaryrefslogtreecommitdiffstats
path: root/eqn.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-04 16:12:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-04 16:12:08 +0000
commit75cc39c2a41a2eef6085721de92ebcdf1b8868f6 (patch)
tree275ea256856425a64c747d838de951c32f2890c8 /eqn.c
parent604a31609737053378ee534fa32241da4a8500bf (diff)
downloadmandoc-75cc39c2a41a2eef6085721de92ebcdf1b8868f6.tar.gz
Clean up messages regarding excess arguments:
* Downgrade ".Bf -emphasis Em" from FATAL to WARNING. * Mention the macros, the arguments, and the fallbacks. * Hierarchical naming.
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eqn.c b/eqn.c
index 5a9ce57a..45d3b1cc 100644
--- a/eqn.c
+++ b/eqn.c
@@ -300,7 +300,8 @@ eqn_read(struct eqn_node **epp, int ln,
p++;
if ('\0' == *p)
return(er);
- mandoc_msg(MANDOCERR_ARGSLOST, ep->parse, ln, pos, NULL);
+ mandoc_vmsg(MANDOCERR_ARG_SKIP, ep->parse,
+ ln, pos, "EN %s", p);
return(er);
}