diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-11 21:14:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-11 21:14:16 +0000 |
commit | faae039ceebc3ae28b1b82cafbd646d619a0358c (patch) | |
tree | 47c2f8229c8fd8f560ea8b254b36d03b430cb534 /mandoc.h | |
parent | 1861ab2e818a4f9e21e8ed19d05cd46f8dc4e409 (diff) | |
download | mandoc-faae039ceebc3ae28b1b82cafbd646d619a0358c.tar.gz mandoc-faae039ceebc3ae28b1b82cafbd646d619a0358c.tar.zst mandoc-faae039ceebc3ae28b1b82cafbd646d619a0358c.zip |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.160 2014/10/10 15:26:29 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.161 2014/10/11 21:14:16 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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 */ |