aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid/dot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/acid/dot.c')
-rw-r--r--src/cmd/acid/dot.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cmd/acid/dot.c b/src/cmd/acid/dot.c
index fd446492..80ec2d02 100644
--- a/src/cmd/acid/dot.c
+++ b/src/cmd/acid/dot.c
@@ -46,9 +46,9 @@ odot(Node *n, Node *r)
error("no tag for (expr).%s", s);
/* Propagate types */
- if(t->type)
+ if(t->type)
r->store.comt = t->type->lt;
-
+
addr = res.store.u.ival+t->offset;
if(t->fmt == 'a') {
r->op = OCONST;
@@ -56,7 +56,7 @@ odot(Node *n, Node *r)
r->type = TINT;
r->store.u.ival = addr;
}
- else
+ else
indir(cormap, addr, t->fmt, r);
}
@@ -74,7 +74,7 @@ buildtype(Node *m, int d)
switch(m->op) {
case OLIST:
- buildtype(m->left, d);
+ buildtype(m->left, d);
buildtype(m->right, d);
break;
@@ -90,7 +90,7 @@ buildtype(Node *m, int d)
t->offset = m->store.u.ival;
if(m->left) {
t->type = m->left->sym;
- t->fmt = 'a';
+ t->fmt = 'a';
}
else {
t->type = 0;
@@ -101,7 +101,7 @@ buildtype(Node *m, int d)
*tail = t;
tail = &t->next;
- }
+ }
}
void