Patrik Stridvall ps@leissner.se writes:
The orginal reason for winapi_cleanup was to convert the \r\n that I got while editing in Micrsoft Developer studio to \n.
But I can modify it the so it only does that.
It should probably remove trailing whitespace at lines ending in \ though since some compilers choke on that.
Sure, the idea of a cleanup tool is a good thing, it just should only do the cleanups that we all agree on. Myself I'm especially interested in an automatic cleanup of C++ comments...
Already on my TODO list.
BTW. How do you want multiliners like
// XXX // YYY // ZZZ
to look like?
Like this
/* XXX * YYY * ZZZ */
or like this
/* * XXX * YYY * ZZZ */
or perhaps in some other way?
One liners like
// XXX
should simply look like
/* XXX */
Or would you prefer it some other way?
Patrik Stridvall ps@leissner.se writes:
Or would you prefer it some other way?
Can't say that I care. Just get rid of them any way you like ;-)