aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-03-10 22:37:36 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-03-10 22:37:36 +0000
commit0e79df499a8af8bc83c1abbe025553d6097dbf4a (patch)
tree2cfa1621f29c5e7ded3d8ea38e1c3c60bf179985 /tccgen.c
parent5bcc3eed7b93f5e75b0bb121913f84f574b7c46a (diff)
downloadtinycc-0e79df499a8af8bc83c1abbe025553d6097dbf4a.tar.gz
tinycc-0e79df499a8af8bc83c1abbe025553d6097dbf4a.tar.bz2
tccgen.c: (!nocode_wanted) -> (nocode_wanted) in arm64 part.
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tccgen.c b/tccgen.c
index 8834746..f757453 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();