From 0ff863842ee7d3511d2cc8fbf907f6cf10b5b12b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 11 Oct 2014 21:14:16 +0000 Subject: warn about parentheses in function names after .Fn and .Fo; particularly useful when converting from other languages to mdoc(7); feature suggested by bentley@ --- mandoc.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index fc203c3e..7340a8d2 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -1120,6 +1120,14 @@ An argument of an or .Ic \&Fn macro contains a comma; it should probably be split into two arguments. +.It Sy "parenthesis in function name" +.Pq mdoc +The first argument of an +.Ic \&Fc +or +.Ic \&Fn +macro contains an opening or closing parenthesis; that's probably wrong, +parentheses are added automatically. .It Sy "invalid content in Rs block" .Pq mdoc An -- cgit