Hi, semicolon is not superfluous because you're able to define an object
after structure definition. It allows you for example to define anonymous
structure like;
struct {
int x;
int y;
} myobj ;
Semicolon is there to say, definition is done AND I don't define variable of
this type right now.
From: [email protected]
[mailto:[email protected]] On Behalf Of mobi
phil
Sent: samedi 15 mars 2014 10:04
To: [email protected]
Subject: [Tinycc-devel] semicolon after struct closing braces
Hi,
tcc fails to detect error in the following simple code:
struct A {} int i;
Somewhere I agree that semicolon is superfluous after the
closing brace, but the standard requires semicolon.
regards,
mobiphil
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel