This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Lies, damn lies and end-of-block comments
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 25 Dec 2008 22:46:46 +0000 (23:46 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 25 Dec 2008 22:48:01 +0000 (23:48 +0100)
commitd4222de00860407a7c86f19fdb5531ac98b1b7ad
tree682c5a3a121dd672fafc173cb5b97aacad443515
parent9ae51f7f1f1e30c2bc17d7aef160a83973b69ad0
Lies, damn lies and end-of-block comments

From: Michael G Schwern <schwern@pobox.com>
Date: Fri, 26 Sep 2008 00:06:31 -0400
Message-ID: <48DC5FC7.3000807@pobox.com>

I was reading reentr.h and noticed a lot of the endif's for the
HAS_XXX_R macros were wrongly indented and their comments had the
wrong condition.

The attached patch fixes the indentation and removes all but the last
comment which is shortest and furthest from its start.  No point in an
end-of-block comment on a one statement block, just falls out of date
and obscures the structure.

(plus "make regen")
reentr.h
reentr.pl