Øyvind Harboe wrote:
> > Or just use goto, please, which is clear, simple, well understood,
> > and elegant all at once. :)
> 
> I think goto is OK sometimes. When it is used to unwind the stack
> frame and free up resources, in lieu of exceptions and resource
> tracking it can clean up the code significantly.

Right, that's the point here.


> If someone does come forth with an even more cleaner patch, then
> I'm OK with that.

Trying, but what a can of worms this file is.


//Peter
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to