summaryrefslogtreecommitdiff
path: root/parse/type.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-04-12 22:53:14 -0700
committerOri Bernstein <ori@eigenstate.org>2016-04-12 22:54:02 -0700
commitfcb38bff6b06d23a3499bd13bc683754cb10dec0 (patch)
tree468ef73d08ac2c1506bb4909fb3d5f936e435353 /parse/type.c
parent2b93bb53428f082ef83e54a6198ea6da88cd66a3 (diff)
downloadmc-fcb38bff6b06d23a3499bd13bc683754cb10dec0.tar.gz
Fix typo.
Search if search is set.
Diffstat (limited to 'parse/type.c')
-rw-r--r--parse/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/type.c b/parse/type.c
index 4d95717..f212aa5 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -679,7 +679,7 @@ int tyeq_rec(Type *a, Type *b, Bitset *visited, int search)
if (!a || !b)
return a == b;
- if (!search) {
+ if (search) {
a = tysearch(a);
b = tysearch(b);
}