diff options
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r-- | src/parsetree.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc index acb482d1..b7581b75 100644 --- a/src/parsetree.cc +++ b/src/parsetree.cc @@ -170,6 +170,12 @@ int CmpUniqueList2::compare( const UniqueList2 &ut1, const UniqueList2 &ut2 ) return -1; else if ( ut1.value > ut2.value ) return 1; + else { + if ( ut1.attrOff < ut2.attrOff ) + return -1; + else if ( ut1.attrOff > ut2.attrOff ) + return 1; + } return 0; } |