[Freeciv-Dev] (PR#7075) break and continue in iterators
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7075 >
> [jdorje - Dim. Jan. 11 16:44:54 2004]:
>
> Anyone want to make a patch so that iterate_outward doesn't have
> nested loops?
>
Hi friends,
When i use a iterato i asume it is well done, (no body realy see the doc)
my proposal: for all iterators we define a BREAK macro
as sample
#define iterate_outward_break break
if iterator is a double loop we define it as someting making a error at
compile time and a warnig to coder
best regard
Marcelo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#7075) break and continue in iterators,
Marcelo Burda <=
|
|