![]() ![]() | ![]() |
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
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