summaryrefslogtreecommitdiff
path: root/src/parsetree.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r--src/parsetree.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc
index d514ea47..0a131b62 100644
--- a/src/parsetree.cc
+++ b/src/parsetree.cc
@@ -113,6 +113,12 @@ int CmpUniqueType::compare( const UniqueType &ut1, const UniqueType &ut2 )
else if ( ut1.structEl > ut2.structEl )
return 1;
break;
+ case TYPE_GENERIC:
+ if ( ut1.generic < ut2.generic )
+ return -1;
+ else if ( ut1.generic > ut2.generic )
+ return 1;
+ break;
}
return 0;