tcc_state.run_test is used as counter, not flag, so int is appropriate. Also fix indentation garbled by last patch.
Unified · Split
| @@ -493,19 +493,19 @@ typedef struct Sym { · 492 unmodified lines | ||
| 493 | 493 | int c; /* associated number or Elf symbol index */ |
| 494 | 494 | union { |
| 495 | 495 | int sym_scope; /* scope level for locals */ |
| 496 | − int jnext; /* next jump label */ | |
| 496 | + int jnext; /* next jump label */ | |
| 497 | 497 | struct FuncAttr f; /* function attributes */ |
| 498 | 498 | int auxtype; /* bitfield access type */ |
| 499 | 499 | }; |
| 500 | 500 | }; |
| 501 | 501 | long long enum_val; /* enum constant if IS_ENUM_VAL */ |
| 502 | 502 | int *d; /* define token stream */ |
| 503 | − struct Sym *ncl; /* next cleanup */ | |
| 503 | + struct Sym *ncl; /* next cleanup */ | |
| 504 | 504 | }; |
| 505 | 505 | CType type; /* associated type */ |
| 506 | 506 | union { |
| 507 | 507 | struct Sym *next; /* next related symbol (for fields and anoms) */ |
| 508 | − struct Sym *cleanupstate; /* in defined labels */ | |
| 508 | + struct Sym *cleanupstate; /* in defined labels */ | |
| 509 | 509 | int asm_label; /* associated asm label */ |
| 510 | 510 | }; |
| 511 | 511 | struct Sym *prev; /* prev symbol in stack */ |
| @@ -717,7 +717,7 @@ struct TCCState { · 205 unmodified lines | ||
| 717 | 717 | #ifdef TCC_TARGET_ARM |
| 718 | 718 | enum float_abi float_abi; /* float ABI of the generated code*/ |
| 719 | 719 | #endif |
| 720 | − unsigned char run_test; /* nth test to run with -dt -run */ | |
| 720 | + int run_test; /* nth test to run with -dt -run */ | |
| 721 | 721 | |
| 722 | 722 | addr_t text_addr; /* address of text section */ |
| 723 | 723 | unsigned char has_text_addr; |