File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
rascal-textmate-core/src/main/rascal/lang/textmate Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ private bool less(ConversionUnit u1, ConversionUnit u2) {
151
151
// Symmetrical case
152
152
return false ;
153
153
} else {
154
+ // Otherwise, sort arbitrarily by name and stringified production
154
155
return toName (u1 .prod .def ) + "<u1 .prod > " < toName (u2 .prod .def ) + "<u2 .prod > " ;
155
156
}
156
157
} else if (nothing () != key1 && nothing () == key2 ) {
@@ -161,6 +162,7 @@ private bool less(ConversionUnit u1, ConversionUnit u2) {
161
162
// Symmetrical case
162
163
return false ;
163
164
} else {
165
+ // Otherwise, sort arbitrarily by name and stringified production
164
166
return toName (u1 .prod .def ) + "<u1 .prod > " < toName (u2 .prod .def ) + "<u2 .prod > " ;
165
167
}
166
168
}
You can’t perform that action at this time.
0 commit comments