ref: a1df687064dca2079aff7f1630d050de1e304b2f
parent: e05b7f12bd9a5f807c2b6143f2a71168291ab8df
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jul 13 21:08:12 EDT 2015
Don't spuriously return 'false' for both a and b null.
--- a/parse/type.c
+++ b/parse/type.c
@@ -683,7 +683,7 @@
size_t i;
if (!a || !b)
- return 0;
+ return a == b;
if (a->type != b->type)
return 0;
if (a->narg != b->narg)
@@ -693,8 +693,6 @@
if (a->nmemb != b->nmemb)
return 0;
- if (a == b)
- return 1;
if (a->tid == b->tid)
return 1;
if (bshas(visited, a->tid) || bshas(visited, b->tid))