diff options
author | Adrian Thurston <thurston@complang.org> | 2014-11-04 16:07:08 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-11-04 16:07:08 -0500 |
commit | 20327ecf9c6055f884e92a5eefbf801701904f31 (patch) | |
tree | b6eedccd33d7bb33ed570ebd29e81807f726cd8b /src/parsetree.cc | |
parent | e62e416d51ace08af60dbf770741f929ae92b8c7 (diff) | |
download | colm-20327ecf9c6055f884e92a5eefbf801701904f31.tar.gz |
use object semantics for the parser types
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r-- | src/parsetree.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc index de68406c..037e6c2b 100644 --- a/src/parsetree.cc +++ b/src/parsetree.cc @@ -105,13 +105,6 @@ int CmpUniqueType::compare( const UniqueType &ut1, const UniqueType &ut2 ) return 1; break; } - case TYPE_LIST2: { - if ( ut1.list < ut2.list ) - return -1; - else if ( ut1.list > ut2.list ) - return 1; - break; - } case TYPE_NIL: break; } |