summaryrefslogtreecommitdiff
path: root/src/parsetree.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-06-14 16:28:29 -0400
committerAdrian Thurston <thurston@complang.org>2015-06-14 16:28:29 -0400
commit79710f96389cefc498cf806cefb5e05f6fed38ea (patch)
tree6fce42d8f219db18914c20aedbfb03283e417234 /src/parsetree.cc
parent324f1fc08d2876f8084f226a54bb06e0e817a791 (diff)
downloadcolm-79710f96389cefc498cf806cefb5e05f6fed38ea.tar.gz
cleanup in the list and map types
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r--src/parsetree.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc
index ca7e9b83..9d3b3d0a 100644
--- a/src/parsetree.cc
+++ b/src/parsetree.cc
@@ -173,13 +173,11 @@ int CmpUniqueGeneric::compare( const UniqueGeneric &ut1, const UniqueGeneric &ut
else {
switch ( ut1.type ) {
case UniqueGeneric::List:
- case UniqueGeneric::ListPtrs:
case UniqueGeneric::ListEl:
case UniqueGeneric::Parser:
break;
case UniqueGeneric::Map:
- case UniqueGeneric::MapPtrs:
case UniqueGeneric::MapEl:
if ( ut1.key < ut2.key )
return -1;