History

tccgen.c: (!nocode_wanted) -> (nocode_wanted) in arm64 part.

Edmund Grimley Evans committed 11 years ago

Commit 0e79df41 parent 5bcc3ee1 file · +2 −2Browse files

Unified · Split

tccgen.c+2−2
@@ -3961,7 +3961,7 @@ ST_FUNC void unary(void) · 3960 unmodified lines
39613961
39623962 #ifdef TCC_TARGET_ARM64
39633963 case TOK___va_start: {
3964− if (!nocode_wanted)
3964+ if (nocode_wanted)
39653965 tcc_error("statement in global scope");
39663966 next();
39673967 skip('(');
@@ -3976,7 +3976,7 @@ ST_FUNC void unary(void) · 8 unmodified lines
39763976 break;
39773977 }
39783978 case TOK___va_arg: {
3979− if (!nocode_wanted)
3979+ if (nocode_wanted)
39803980 tcc_error("statement in global scope");
39813981 CType type;
39823982 next();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t