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.h | |
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.h')
-rw-r--r-- | mandoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |