summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-30 02:36:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-30 02:36:38 +0000
commit672fb7896ca2c19f7313864be8ddba51337a45c0 (patch)
tree526fb2a5840669c169364a7f3553d675b0a193ca /read.c
parent189a8d328ad3183232385bd1ceea6a0557c5cc1b (diff)
downloadmandoc-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 'read.c')
-rw-r--r--read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/read.c b/read.c
index f007d2ac..75fa3693 100644
--- a/read.c
+++ b/read.c
@@ -120,6 +120,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
/* related to macros and nesting */
"obsolete macro",
+ "macro neither callable nor escaped",
"skipping paragraph macro",
"moving paragraph macro out of list",
"skipping no-space macro",