summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-10-11 21:14:12 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-10-11 21:14:12 +0000
commit2e415b96562e7d1c4902027fde487820751f92a3 (patch)
tree1841e12a884cb63c17dc3d7e615115c2a1f2888f /usr.bin/mandoc/read.c
parentbdbdf4be7a0e082ab3f80aa85bd45a0b03092c65 (diff)
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 '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 11e2b2a6ffc..70eaf3a2751 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.64 2014/09/12 00:53:21 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.65 2014/10/11 21:14:11 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -153,6 +153,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping -width argument",
"unknown AT&T UNIX version",
"comma in function argument",
+ "parenthesis in function name",
"invalid content in Rs block",
"invalid Boolean argument",
"unknown font, skipping request",