summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fo/warn.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-09-13 19:26:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-09-13 19:26:46 +0000
commit4ef634f0d16fbda69aef241fb561f27496c09867 (patch)
tree647f01e796b5b830b46968f589435f4bcd69b255 /regress/mdoc/Fo/warn.out_lint
parentcdc19ab62bcbc6a6f545f4f8f654f00a9a662f10 (diff)
downloadmandoc-4ef634f0d16fbda69aef241fb561f27496c09867.tar.gz
Improve validation of function names:
1. Relax checking to accept function types of the form "ret_type (fname)(args)" (suggested by Yuri Pankov <yuripv dot net>). 2. Tighten checking to require the closing parenthesis.
Diffstat (limited to 'regress/mdoc/Fo/warn.out_lint')
-rw-r--r--regress/mdoc/Fo/warn.out_lint4
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/mdoc/Fo/warn.out_lint b/regress/mdoc/Fo/warn.out_lint
index 3af27fc6..c4991f03 100644
--- a/regress/mdoc/Fo/warn.out_lint
+++ b/regress/mdoc/Fo/warn.out_lint
@@ -1,2 +1,6 @@
mandoc: warn.in:10:8: WARNING: parenthesis in function name: sin()
mandoc: warn.in:14:19: WARNING: comma in function argument: double y, double x
+mandoc: warn.in:16:10: WARNING: parenthesis in function name: close)
+mandoc: warn.in:22:5: WARNING: parenthesis in function name: (open
+mandoc: warn.in:24:5: WARNING: parenthesis in function name: (*popen
+mandoc: warn.in:26:5: WARNING: parenthesis in function name: (trail)x