B
BartC
I keep getting a syntax error such as 'label at the end of a compound
statement', when I have code like this:
{
.....
lab:
}
I can fix it by adding a semicolon, as in lab:;
But can I just do that with every label, just have :; after it instead of a
colon? (And what's wrong with having a label just before } anyway? It
doesn't have any trouble figuring out what it means when I put the semicolon
in!)
statement', when I have code like this:
{
.....
lab:
}
I can fix it by adding a semicolon, as in lab:;
But can I just do that with every label, just have :; after it instead of a
colon? (And what's wrong with having a label just before } anyway? It
doesn't have any trouble figuring out what it means when I put the semicolon
in!)