diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-09-12 00:53:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-09-12 00:53:22 +0000 |
commit | 2cb7ce110e22298c69e03cd5f561f1ea661a6b67 (patch) | |
tree | 986dd3141938f33deb95b5bf755da9b60ef0403d /usr.bin/mandoc/mandoc.h | |
parent | f543e57479ed531514961b9154a9d7c831ded686 (diff) |
warn about commas in function arguments; inspired by mdoclint(1)
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r-- | usr.bin/mandoc/mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h index 881b65aab91..9a139ffe36f 100644 --- a/usr.bin/mandoc/mandoc.h +++ b/usr.bin/mandoc/mandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mandoc.h,v 1.99 2014/09/11 23:52:47 schwarze Exp $ */ +/* $OpenBSD: mandoc.h,v 1.100 2014/09/12 00:53:21 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -113,6 +113,7 @@ enum mandocerr { MANDOCERR_BL_REP, /* skipping duplicate list type: Bl -type */ 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_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 */ |