summaryrefslogtreecommitdiff
path: root/parse/specialize.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-01 01:30:17 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-01 01:30:17 -0800
commite22c4b573a6d0d71a8781ef655a7249f8b1921a4 (patch)
treeb8987ba2209db53a0f5fdbc27ddac66838e6e754 /parse/specialize.c
parentffc55ee721c02d1caede8d7fbad9e8b687f01306 (diff)
downloadmc-e22c4b573a6d0d71a8781ef655a7249f8b1921a4.tar.gz
Fix style.
Diffstat (limited to 'parse/specialize.c')
-rw-r--r--parse/specialize.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/parse/specialize.c b/parse/specialize.c
index 32412f1..4961230 100644
--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -90,8 +90,7 @@ Type *tyspecialize(Type *t, Htab *tsmap, Htab *delayed)
ret = tydup(t);
tmp = htget(delayed, t);
htput(delayed, ret, tyspecialize(tmp, tsmap, delayed));
- }
- else {
+ } else {
ret = t;
}
break;
@@ -101,8 +100,7 @@ Type *tyspecialize(Type *t, Htab *tsmap, Htab *delayed)
htput(tsmap, t, ret);
for (i = 0; i < t->nsub; i++)
ret->sub[i] = tyspecialize(t->sub[i], tsmap, delayed);
- }
- else {
+ } else {
ret = t;
}
break;