diff options
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r-- | src/parsetree.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc index 6f838c26..cc9c6bc6 100644 --- a/src/parsetree.cc +++ b/src/parsetree.cc @@ -119,7 +119,10 @@ int CmpUniqueType::compare( const UniqueType &ut1, const UniqueType &ut2 ) return 1; break; case TYPE_NIL: + case TYPE_INT: + case TYPE_BOOL: break; + case TYPE_STRUCT: if ( ut1.structEl < ut2.structEl ) return -1; |