Language Filter Def
Brought to you by:
alnd
const SWORD table[10] =
{
/*cmt*/ A=B;
/*cmt*/ X=Y;
/* cmt1,
cmt2 */
} /*
cmt2 */;
I use cloc 1 .60 to count LOC of this C source code. The result is 4. It should be 3 (do not count comment, curly brackets {,} and semicolon ;). I try language definition with "filter remove_matches ^\s[{}]\s$" but it does not solve the problem. I think the problem is caused by semicolon (;) in last line. Is there any way to solve this problem. Thank you.
Anonymous
try