line counting tool that detects D comments etc?

Kagamin spam at here.lot
Thu Mar 4 16:06:15 PST 2010


Trass3r Wrote:

> > e.g. what's the significance of being able to detect nested comments?
> 
> so they aren't counted as lines of code.
> Just a simple tool that counts actual LoC, empty lines, comments, maybe  
> ddoc comments...

don't know ready solution, but Scintilla's D lexer may be of some use.


More information about the Digitalmars-d-learn mailing list