[hackers] [scc] [cc2] Fix whitespaces errors || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 26 Sep 2016 08:28:43 +0200 (CEST)

commit 4fca380b83f755487cd5e6c1f1b6cfc8c54674da
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sat Sep 24 15:33:47 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sat Sep 24 15:33:47 2016 +0200

    [cc2] Fix whitespaces errors

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index 015eff7..7e41be2 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -572,16 +572,16 @@ cgen(Node *np)
                 label2node(&ifyes, np->u.sym);
                 code(ASJMP, NULL, &ifyes, NULL);
                 break;
- case OBRANCH:
- next = np->next;
- if (!next->label)
- next->label = newlabel();
+ case OBRANCH:
+ next = np->next;
+ if (!next->label)
+ next->label = newlabel();
 
- label2node(&ifyes, np->u.sym);
- label2node(&ifno, next->label);
+ label2node(&ifyes, np->u.sym);
+ label2node(&ifno, next->label);
                 rhs(np->left, &ret);
                 code(ASBRANCH, &ret, &ifyes, &ifno);
- break;
+ break;
         case ORET:
                 p = (np->left) ? rhs(np->left, &ret) : NULL;
                 code(ASRET, NULL, p, NULL);
diff --git a/cc2/cc2.h b/cc2/cc2.h
index dbf078e..a91cadf 100644
--- a/cc2/cc2.h
+++ b/cc2/cc2.h
_AT_@ -188,11 +188,11 @@ struct addr {
 };
 
 struct inst {
- unsigned char op;
+ unsigned char op;
         unsigned char flags;
         Symbol *label;
- Inst *next, *prev;
- Addr from1, from2, to;
+ Inst *next, *prev;
+ Addr from1, from2, to;
 };
 
 /* main.c */
Received on Mon Sep 26 2016 - 08:28:43 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 26 2016 - 08:36:17 CEST