[BACK]Return to warn.out_lint CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fo

File: [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fo / warn.out_lint (download)

Revision 1.6, Fri Sep 13 19:26:47 2019 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.5: +4 -0 lines

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.

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