commit 4fca380b83f755487cd5e6c1f1b6cfc8c54674da
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Sat Sep 24 15:33:47 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
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
@@ -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
@@ -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 */

Reply via email to