工具
The tool had to correctly tokenize and parse the C source file, in order to be able to do this.
jobj@intel32:~$ ./lint lint.c
lint.c:17: error: too many lines per function (>15)
lint.c:85: error: too many lines per function (>15)
lint.c:114: error: too many lines per function (>15)
lint.c:158: error: too many lines per function (>15)
lint.c:191: error: too many lines per function (>15)
JB