blackducksoftware / ohcount

The Ohloh source code line counter
https://github.com/blackducksoftware/ohcount
GNU General Public License v2.0
257 stars 74 forks source link

Fix incorrect comment pattern for objective_c detection #47

Closed notalex closed 7 years ago

notalex commented 7 years ago

Objective_c comments always start with a /. The existing code matches the asterisk character in the second column of a line to decide that a file is objective_c. This leads it to detect mathematica comments "(*" as objective_c comments.

ghost commented 7 years ago

LGTM