Re: New scoping rule for "repeat" and "continue" patch
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: New scoping rule for "repeat" and "continue" patch
- From: Glenn Maynard <glenn@...>
- Date: 2005年9月29日 01:30:14 -0400
On Thu, Sep 29, 2005 at 12:24:22AM -0500, Rici Lake wrote:
> I guess it depends on how many lines separate the 'do {' from the '}
> while(0)'. The examples I was thinking of had several pages of
> intervening code.
Typically, I'd try to break the error handling into a parent function
if I need that much code. If there are several pages, I think both
goto and do/while are unclear--it pushes whatever I'm cleaning up
from what created it too far apart.
--
Glenn Maynard