summaryrefslogtreecommitdiffstats
path: root/mandoc.h
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 /mandoc.h
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 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index a035d9ac..eed7f689 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -77,6 +77,7 @@ enum mandocerr {
/* related to macros and nesting */
MANDOCERR_MACRO_OBS, /* obsolete macro: macro */
+ MANDOCERR_MACRO_CALL, /* macro neither callable nor escaped: macro */
MANDOCERR_PAR_SKIP, /* skipping paragraph macro: macro ... */
MANDOCERR_PAR_MOVE, /* moving paragraph macro out of list: macro */
MANDOCERR_NS_SKIP, /* skipping no-space macro */