Menu

#15 While preparing to ship my Go code I discovered a bug in sloccount. Your code should count multiline single-quote literals in Python the same way it treats multiline double-quote literals. It doesn't. This produces some significant miscounting in the NTPsec tree. I have put my loccount code up on GitLab at https://gitlab.com/esr/loccount Say the word and I'll add you as a committer.

v1.0 (example)
open
nobody
None
5
2016-11-21
2016-11-21
No

From ESR - bug report:

Your code should count multiline single-quote literals in Python
the same way it treats multiline double-quote literals. It doesn't.
This produces some significant miscounting in the NTPsec tree.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB