does anyone know why `label: int decl;` is not valid C99?
-
-
Replying to @whitequark
I think it's because "int decl" is not a "statement" but a "declaration". "label:; int decl;" should work.
2 replies 1 retweet 4 likes -
Replying to @oe1cxw
right, this is "how", i know that; i'd like to know "why" it's like that
4 replies 0 retweets 8 likes
Replying to @whitequark
Ah! Sorry, misunderstood. I'd be surprised if there'd be any rationale other than "it already was like that in C89/C90 and nobody wanted to touch the fact that in C syntax the label is part of a statement, not block-item".
0 replies
1 retweet
6 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.