WANG Cong wrote: > I just wonder, if a goto label is nested in a while/for/if/switch block, aligning it in > the first column maybe a bit ugly. (I know mostly it is not in any while/for/if/switch block.) > In general goto labels are not scoped, so there's no point in pretending they are. It might make sense to indent a label deeper if you've actually declared it local (__label__). J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: "H. Peter Anvin" <[email protected]>
- [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)
- From: WANG Cong <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: WANG Cong <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- References:
- [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: WANG Cong <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Al Viro <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Randy Dunlap <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Jeff Garzik <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: WANG Cong <[email protected]>
- [RFC] Documentation/CodingStyle: Add rules for goto labels
- Prev by Date: Re: b44: regression in 2.6.22 (resend)
- Next by Date: Re: [PATCH] m68k: Atari SCSI driver update_timeout removal
- Previous by thread: Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- Next by thread: Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- Index(es):