Unified · Split
| @@ -3961,7 +3961,7 @@ ST_FUNC void unary(void) · 3960 unmodified lines | |||
| 3961 | 3961 | ||
| 3962 | #ifdef TCC_TARGET_ARM64 | 3962 | #ifdef TCC_TARGET_ARM64 |
| 3963 | case TOK___va_start: { | 3963 | case TOK___va_start: { |
| 3964 | if (!nocode_wanted) | 3964 | if (nocode_wanted) |
| 3965 | tcc_error("statement in global scope"); | 3965 | tcc_error("statement in global scope"); |
| 3966 | next(); | 3966 | next(); |
| 3967 | skip('('); | 3967 | skip('('); |
| @@ -3976,7 +3976,7 @@ ST_FUNC void unary(void) · 8 unmodified lines | |||
| 3976 | break; | 3976 | break; |
| 3977 | } | 3977 | } |
| 3978 | case TOK___va_arg: { | 3978 | case TOK___va_arg: { |
| 3979 | if (!nocode_wanted) | 3979 | if (nocode_wanted) |
| 3980 | tcc_error("statement in global scope"); | 3980 | tcc_error("statement in global scope"); |
| 3981 | CType type; | 3981 | CType type; |
| 3982 | next(); | 3982 | next(); |