Fixed missing diagnostics on empty enum/struct/union declareations without tag names.

Improved error recovery with local declarations and _Static_assert.
This commit is contained in:
acqn
2023-12-10 15:43:24 +08:00
parent a16a6298e2
commit 79b4690077
9 changed files with 514 additions and 357 deletions

View File

@@ -1,3 +1,3 @@
bug1889-missing-identifier.c:3: Error: Identifier expected
bug1889-missing-identifier.c:3: Error: ';' expected
bug1889-missing-identifier.c:3: Error: Identifier or ';' expected after declaration specifiers
bug1889-missing-identifier.c:3: Warning: Implicit 'int' is an obsolete feature
bug1889-missing-identifier.c:4: Error: Identifier expected