On 06/22/2010 04:53 PM, bearophile wrote:
Andrei Alexandrescu:
you agreed there is no solitary semicolon statement in D,<

This compiles, is this a solitary semicolon statement?

void main() {
     goto FOO;
     FOO:;
}

Yes. It shouldn't compile. Walter and I agreed that solitary semicolons are useless (you can always use {} as an empty statement and that actually makes things clearer to everyone), but it's a low-priority issue so he hasn't implemented that yet.

Andrei

Reply via email to