#65 removes text wrongly by thinking it as comment

closed
nobody
None
5
2012-10-11
2012-03-13
Anonymous
No

Text inside HERE doc in perl starting with # are valid text and not comments which is being removed by cloc --strip-comments wrongly.

File content:
$test=<<END;

Testing

END
print $test;

The above given to cloc.pl with --strip-comments removed the text "# Testing" thinking it as comment is a bug.

Discussion


Anonymous


Cancel   Add attachments