summaryrefslogtreecommitdiff
path: root/parse/specialize.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-01-14 23:51:05 -0800
committerOri Bernstein <ori@eigenstate.org>2018-01-14 23:51:05 -0800
commit8aef13f0d3a760760a3843245f6d5b1f62c2a142 (patch)
treef2fc2ddfd93e05a73416889128e01f2c23a5bb36 /parse/specialize.c
parent9b6e7069755a73fb43acd86fd76aafb2178a6f0c (diff)
downloadmc-8aef13f0d3a760760a3843245f6d5b1f62c2a142.tar.gz
Remove a global-global.
Now it's static.
Diffstat (limited to 'parse/specialize.c')
-rw-r--r--parse/specialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/specialize.c b/parse/specialize.c
index a9d8ee4..0491d76 100644
--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -109,7 +109,7 @@ tyspecialize(Type *orig, Tysubst *tsmap, Htab *delayed, Htab *trbase)
ts->aux = tyspecialize(t->spec[i]->aux, tsmap, delayed, trbase);
lappend(&ret->spec, &ret->nspec, ts);
}
- tmp = htget(seqbase, t);
+ tmp = htget(trbase, t);
if (tmp) {
tmp = tyspecialize(tmp, tsmap, delayed, trbase);
htput(trbase, ret, tmp);