summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-11 21:14:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-11 21:14:16 +0000
commit0ff863842ee7d3511d2cc8fbf907f6cf10b5b12b (patch)
treea3c52e364412dc4643bbcabdd5ae42b53ee8e37f /mandoc.h
parent03f1aa70af05538acf06ea6c12e41402f4afd2d1 (diff)
downloadmandoc-0ff863842ee7d3511d2cc8fbf907f6cf10b5b12b.tar.gz
warn about parentheses in function names after .Fn and .Fo;
particularly useful when converting from other languages to mdoc(7); feature suggested by bentley@
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 fac9d1bc..d18d5c97 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -114,6 +114,7 @@ enum mandocerr {
MANDOCERR_BL_SKIPW, /* skipping -width argument: Bl -type */
MANDOCERR_AT_BAD, /* unknown AT&T UNIX version: At version */
MANDOCERR_FA_COMMA, /* comma in function argument: arg */
+ MANDOCERR_FN_PAREN, /* parenthesis in function name: arg */
MANDOCERR_RS_BAD, /* invalid content in Rs block: macro */
MANDOCERR_SM_BAD, /* invalid Boolean argument: macro arg */
MANDOCERR_FT_BAD, /* unknown font, skipping request: ft font */