shithub: mc

Download patch

ref: 39292381c64ec2f8735cef1b0627d863edf8d43a
parent: 49363e8c29d389213f4700a9bf9b584a6fd4a139
author: Ori Bernstein <[email protected]>
date: Tue Jun 19 12:24:09 EDT 2012

Whitespace fixes

--- a/8/reduce.c
+++ b/8/reduce.c
@@ -659,7 +659,7 @@
             if (size(n) > 4) {
                 t = addr(t, exprtype(n));
                 u = addr(u, exprtype(n));
-		v = word(n->line, size(n));
+                v = word(n->line, size(n));
                 r = mkexpr(n->line, Oblit, t, u, v, NULL);
             } else {
               r = store(t, u);
@@ -727,7 +727,7 @@
             r = n;
             break;
         case Ndecl:
-	    declarelocal(s, n);
+            declarelocal(s, n);
             if (n->decl.init) {
                 t = mkexpr(n->line, Ovar, n->decl.name, NULL);
                 u = mkexpr(n->line, Oasn, t, n->decl.init, NULL);
@@ -788,18 +788,18 @@
         for (i = 0; i < s->nstmts; i++)
             dump(s->stmts[i], stdout);
     for (i = 0; i < s->nstmts; i++) {
-	if (s->stmts[i]->type != Nexpr)
-	    continue;
-	if (debug) {
-	    printf("FOLD FROM ----------\n");
-	    dump(s->stmts[i], stdout);
-	}
-	s->stmts[i] = fold(s->stmts[i]);
-	if (debug) {
-	    printf("FOLD TO ------------\n");
-	    dump(s->stmts[i], stdout);
-	    printf("END ----------------\n");
-	}
+        if (s->stmts[i]->type != Nexpr)
+            continue;
+        if (debug) {
+            printf("FOLD FROM ----------\n");
+            dump(s->stmts[i], stdout);
+        }
+        s->stmts[i] = fold(s->stmts[i]);
+        if (debug) {
+            printf("FOLD TO ------------\n");
+            dump(s->stmts[i], stdout);
+            printf("END ----------------\n");
+        }
     }
     cfg = mkcfg(s->stmts, s->nstmts);
     if (debug)