Am Thursday 16 February 2006 08:47 schrieb Alexander Leidinger: > Markus Brueffer <[EMAIL PROTECTED]> wrote: > > Furthermore I have removed the loop in REPORT_SAVED_COLL. If someone > > knows why > > it was there in the first place, please share your wisdom :) > > This is done in many places in the source. It's a common way of writting a > macro which is usable like a function (yes, this macro returns, so it > doesn't _work_ like a function, but this is not the point). Usually this is > used with macros which take arguments. You just can add a ';' after the use > of the macro without having to remember if you need to do it, or if your > compiler may moan because of an empty statement. > > Have a look into style(9), it also has to say something about it.
Ah, I see. Thanks for the explanation. I have updated the diff to not remove the loop. Markus -- Markus Brueffer | GPG-Key: http://people.FreeBSD.org/~markus/markus.asc [EMAIL PROTECTED] | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 [EMAIL PROTECTED] | FreeBSD: The Power to Serve!
pgpV8YbFsO233.pgp
Description: PGP signature