Those are wrapping macros, so that they have a separate scope and
thus avoid any subtle problems with conflicting variable names etc.


 - ML


On 27 August 2016 at 22:31, Frank <no-reply.invalid-addr...@gna.org> wrote:
> Follow-up Comment #6, patch #7653 (project freeciv):
>
> Syntax summary, "do s while e" for a statement s and an expression e can have
> the form "do s while 1" (forever) and "do s while 0" (once).
>
> Both are perfectly valid, but writing "s" has the same effect as "do s while
> 0". 45 years old syntax, all I asked was if those "do s while 0" instead of
> "s" have a known purpose.
>
> The 20 years old http://freeciv.wikia.com/wiki/Coding_Style#Miscellaneous does
> not discuss it, and that's as it should be.
>
>     _______________________________________________________
>
> Reply to this item at:
>
>   <http://gna.org/patch/?7653>
>
> _______________________________________________
>   Message sent via/by Gna!
>   http://gna.org/
>

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to