tccgen.c: (!nocode_wanted) -> (nocode_wanted) in arm64 part.
This commit is contained in:
4
tccgen.c
4
tccgen.c
@ -3961,7 +3961,7 @@ ST_FUNC void unary(void)
|
|||||||
|
|
||||||
#ifdef TCC_TARGET_ARM64
|
#ifdef TCC_TARGET_ARM64
|
||||||
case TOK___va_start: {
|
case TOK___va_start: {
|
||||||
if (!nocode_wanted)
|
if (nocode_wanted)
|
||||||
tcc_error("statement in global scope");
|
tcc_error("statement in global scope");
|
||||||
next();
|
next();
|
||||||
skip('(');
|
skip('(');
|
||||||
@ -3976,7 +3976,7 @@ ST_FUNC void unary(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case TOK___va_arg: {
|
case TOK___va_arg: {
|
||||||
if (!nocode_wanted)
|
if (nocode_wanted)
|
||||||
tcc_error("statement in global scope");
|
tcc_error("statement in global scope");
|
||||||
CType type;
|
CType type;
|
||||||
next();
|
next();
|
||||||
|
|||||||
Reference in New Issue
Block a user