This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Some syntactic sugar for machine descriptions
- To: Richard dot Earnshaw at arm dot com
- Subject: Re: Some syntactic sugar for machine descriptions
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Mon, 2 Jul 2001 15:06:19 -0700
- Cc: gcc-patches at gcc dot gnu dot org
On Mon, Jul 02, 2001 at 04:29:06PM +0100, Richard Earnshaw wrote:
>
> Why the extra level of scoping? IMO it would be cleaner to have the const
> char *str at the scope of the entire switch, rather than for just for a
> few cases.
Honestly, I'm not sure why I did that. I did the patch immediately
upon waking up and may not have been thinking clearly enough.
I'll re-do it without the extra narrow scope. OK to apply with that change?
--
zw Well, there's another triumph for clean hands, a pure heart, a good
soul...and vastly superior technology.
-- _Undocumented Features: Out in the Cold_