diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-30 02:36:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-30 02:36:38 +0000 |
commit | 672fb7896ca2c19f7313864be8ddba51337a45c0 (patch) | |
tree | 526fb2a5840669c169364a7f3553d675b0a193ca /mandoc.1 | |
parent | 189a8d328ad3183232385bd1ceea6a0557c5cc1b (diff) | |
download | mandoc-672fb7896ca2c19f7313864be8ddba51337a45c0.tar.gz |
warn about attempts to call non-callable macros;
inspired by a similar warning in the groff_mdoc(7) macros
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -803,6 +803,13 @@ Probably, there are author names lacking markup. See the .Xr mdoc 7 manual for replacements. +.It Sy "macro neither callable nor escaped" +.Pq mdoc +The name of a macro that is not callable appears on a macro line. +It is printed verbatim. +If the intention is to call it, move it to its own line; +otherwise, escape it by prepending +.Sq \e& . .It Sy "skipping paragraph macro" In .Xr mdoc 7 |