Fix formatting breakage from "rogue tabs" commit.

This commit is contained in:
gus knight
2015-07-29 09:54:03 -04:00
parent 271abe7117
commit 7f5b95ea32
9 changed files with 403 additions and 405 deletions

View File

@ -1335,7 +1335,7 @@ ST_FUNC void build_got_entries(TCCState *s1)
ofs = put_got_entry(s1, reloc_type, sym->st_size, ofs = put_got_entry(s1, reloc_type, sym->st_size,
sym->st_info, sym_index); sym->st_info, sym_index);
#ifdef DEBUG_RELOC #ifdef DEBUG_RELOC
printf ("maybegot: %s, %d, %d --> ofs=0x%x\n", printf("maybegot: %s, %d, %d --> ofs=0x%x\n",
(char *) symtab_section->link->data + sym->st_name, (char *) symtab_section->link->data + sym->st_name,
type, sym->st_shndx, ofs); type, sym->st_shndx, ofs);
#endif #endif
@ -1560,7 +1560,7 @@ static int tcc_add_support(TCCState *s1, const char *filename)
#ifdef TCC_TARGET_C67 #ifdef TCC_TARGET_C67
"C67" "C67"
#endif #endif
,filename); , filename);
return tcc_add_file(s1, buf, TCC_FILETYPE_BINARY); return tcc_add_file(s1, buf, TCC_FILETYPE_BINARY);
} }

View File

@ -4783,8 +4783,7 @@ static void label_or_decl(int l)
int last_tok; int last_tok;
/* fast test first */ /* fast test first */
if (tok >= TOK_UIDENT) if (tok >= TOK_UIDENT) {
{
/* no need to save tokc because tok is an identifier */ /* no need to save tokc because tok is an identifier */
last_tok = tok; last_tok = tok;
next(); next();

View File

@ -1817,8 +1817,7 @@ int gtst(int inv, int t)
vtop->c.i &= ~0x100; vtop->c.i &= ~0x100;
if (!inv == (vtop->c.i != TOK_NE)) if (!inv == (vtop->c.i != TOK_NE))
o(0x067a); /* jp +6 */ o(0x067a); /* jp +6 */
else else {
{
g(0x0f); g(0x0f);
t = psym(0x8a, t); /* jp t */ t = psym(0x8a, t); /* jp t */
} }