as per the C11 grammar.
Unified · Split
| @@ -7456,6 +7456,7 @@ static int decl0(int l, int is_for_loop_init, Sym *func_sym) · 7455 unmodified lines | |||
| 7456 | tcc_error("%s", get_tok_str(tok, &tokc)); | 7456 | tcc_error("%s", get_tok_str(tok, &tokc)); |
| 7457 | next(); | 7457 | next(); |
| 7458 | skip(')'); | 7458 | skip(')'); |
| 7459 | skip(';'); | ||
| 7459 | continue; | 7460 | continue; |
| 7460 | } | 7461 | } |
| 7461 | if (!parse_btype(&btype, &adbase)) { | 7462 | if (!parse_btype(&btype, &adbase)) { |
| @@ -179,7 +179,7 @@ void * _Alignas(16) p1; · 178 unmodified lines | |||
| 179 | #elif defined test_static_assert | 179 | #elif defined test_static_assert |
| 180 | 180 | ||
| 181 | #define ONE 0 | 181 | #define ONE 0 |
| 182 | _Static_assert(ONE == 0, "don't show me this") | 182 | _Static_assert(ONE == 0, "don't show me this"); |
| 183 | _Static_assert(ONE == 1, "ONE is not 1") | 183 | _Static_assert(ONE == 1, "ONE is not 1"); |
| 184 | 184 | ||
| 185 | #endif | 185 | #endif |