Re: [patch] 'break' can not escape double for-loop in FOR_ALL_TAB_WINDOWS()

2012-02-06 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: FOR_ALL_TAB_WINDOWS() macro contain the double for-loop. So that, 'break' can not escape this. I checkd out all the places that using. I found an appropriate place in aucmd_restbuf(). (Not bug, but occurred wasted loop) I fixed this and added comment to

[patch] 'break' can not escape double for-loop in FOR_ALL_TAB_WINDOWS()

2012-02-05 Fir de Conversatie h_east
Hi Bram, FOR_ALL_TAB_WINDOWS() macro contain the double for-loop. So that, 'break' can not escape this. I checkd out all the places that using. I found an appropriate place in aucmd_restbuf(). (Not bug, but occurred wasted loop) I fixed this and added comment to FOR_ALL_TAB_WINDOWS(). Below is