From 0e79df499a8af8bc83c1abbe025553d6097dbf4a Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Tue, 10 Mar 2015 22:37:36 +0000 Subject: [PATCH] tccgen.c: (!nocode_wanted) -> (nocode_wanted) in arm64 part. --- tccgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tccgen.c b/tccgen.c index 88347469..f757453d 100644 --- a/tccgen.c +++ b/tccgen.c @@ -3961,7 +3961,7 @@ ST_FUNC void unary(void) #ifdef TCC_TARGET_ARM64 case TOK___va_start: { - if (!nocode_wanted) + if (nocode_wanted) tcc_error("statement in global scope"); next(); skip('('); @@ -3976,7 +3976,7 @@ ST_FUNC void unary(void) break; } case TOK___va_arg: { - if (!nocode_wanted) + if (nocode_wanted) tcc_error("statement in global scope"); CType type; next();