This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, 2004-04-12 at 12:35, law@redhat.com wrote:GCC used to allow (not sure if it still does)
>Regardless. Are they not invalid? It is valid code.
OK. I must've confused it with some other problem then. Something about labels not allowed right before the closing brace. But I don't pay enough attention to these things.
The standard requires a statement after the label even if it's an empty
label: ; }
Thanks. Diego.
Cheers Graham
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |