bearophile wrote:
Andrei: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),void main() { goto FOO; FOO:; }I have had to use a LABEL:; in D code, to implement a finite state machine. So I guess I'll have to write it like this: LABEL: {} Bye, bearophile
I think the ; is part of the label statement. If not, it should be removed entirely.
