ref: 5e6ffbb015dc6f204b5da226dabac8b15d666216
parent: ff6bb29c564433019230ecae56cc2273bc217b33
author: Ori Bernstein <[email protected]>
date: Thu Aug 29 12:08:17 EDT 2013
Whitespace fixes.
--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -53,17 +53,17 @@
htput(tsmap, t, ret);
break;
case Tyname:
- if (!t->isgeneric) {
- ret = t;
- } else {
- for (i = 0; i < t->nparam; i++)
- if (!hthas(tsmap, t->param[i]))
- htput(tsmap, t->param[i], mktyvar(t->param[i]->line));
- ret = mktyname(t->line, t->name, NULL, 0, tyspecialize(t->sub[0], tsmap));
- htput(tsmap, t, ret);
- for (i = 0; i < t->nparam; i++)
- lappend(&ret->param, &ret->nparam, tyspecialize(t->param[i], tsmap));
- }
+ if (!t->isgeneric) {
+ ret = t;
+ } else {
+ for (i = 0; i < t->nparam; i++)
+ if (!hthas(tsmap, t->param[i]))
+ htput(tsmap, t->param[i], mktyvar(t->param[i]->line));
+ ret = mktyname(t->line, t->name, NULL, 0, tyspecialize(t->sub[0], tsmap));
+ htput(tsmap, t, ret);
+ for (i = 0; i < t->nparam; i++)
+ lappend(&ret->param, &ret->nparam, tyspecialize(t->param[i], tsmap));
+ }
break;
case Tystruct:
ret = tydup(t);