On 17 January 2012 02:13, Joerg Sonnenberger <jo...@britannica.bec.de> wrote:
> On Mon, Jan 16, 2012 at 08:42:56PM +0000, Sergey Kandaurov wrote:
>> Log:
>>   Be pedantic and change // comment to C-style one.
>
> If you want to be pedantic, at least be correct. // is perfectly valid
> C99.
>

Yes, you're right. Sorry for being confusing in the commit message.

The intention was to provide comments with pre-C99 syntax for
syntax-checking / static analyzing tools which old enough to not
understand this syntax but otherwise still good. Also, style(9) doesn't
describe or cite //-style comments, which is usually treated there as
"avoid it to use". This was only such comment in sys/kern. After this
change there is no // comments in sys/sys, sys/kern, sys/vm in head.

-- 
wbr,
pluknet
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to