On Mar 26, 2008, at 05:42, Florian Ebeling wrote:
Trailing whitespace: trailing whitespace after a backslash causes an error (the line is not continued as expected). Such whitespace must not exist. I'm not sure if there are other trailing whitespace issues that were being caught by this check. If not, the check could be reduced to catching trailing whitespace following a backslash.
Agreed, that's maybe a good idea. It seems to be hard to eliminate problems which lint warns about beforehand. To give you just one example, the last 2 commits on "my" port libsvm were done by you, and I got a lint warning each time, for an empty line containing a space.
Empty lines containing a space should not be reported as erroneous by port lint. port lint had a bug. It was fixed in trunk but that fix has not yet made it to a released version of MacPorts. http://trac.macosforge.org/projects/macports/ticket/14165