summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-12 00:53:22 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-12 00:53:22 +0000
commit2cb7ce110e22298c69e03cd5f561f1ea661a6b67 (patch)
tree986dd3141938f33deb95b5bf755da9b60ef0403d /usr.bin/mandoc/read.c
parentf543e57479ed531514961b9154a9d7c831ded686 (diff)
warn about commas in function arguments; inspired by mdoclint(1)
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 1d452671fff..11e2b2a6ffc 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.63 2014/09/11 23:52:47 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.64 2014/09/12 00:53:21 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -152,6 +152,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping duplicate list type",
"skipping -width argument",
"unknown AT&T UNIX version",
+ "comma in function argument",
"invalid content in Rs block",
"invalid Boolean argument",
"unknown font, skipping request",