common/tools/csvToSysDef.pl
changeset 1315 8d797b367538
parent 1314 2a30d4157ddd
child 1316 0b4a09013baf
equal deleted inserted replaced
1314:2a30d4157ddd 1315:8d797b367538
   167 	
   167 	
   168 	print "<$tagName";
   168 	print "<$tagName";
   169 
   169 
   170 	foreach my $attr (
   170 	foreach my $attr (
   171 		sort {
   171 		sort {
   172 			my $order = "name long-name tech_domain level span schema levels filter introduced deprecated purpose class plugin origin-model bldFile proFile qmakeArgs mrp version priority";
   172 			my $order = "id name long-name tech_domain level span schema levels filter introduced deprecated purpose class plugin origin-model bldFile proFile qmakeArgs mrp version priority target";
   173 			my $ixA = index $order, $a;
   173 			my $ixA = index $order, $a;
   174 			my $ixB = index $order, $b;
   174 			my $ixB = index $order, $b;
   175 			die "$a $b" if $ixA + $ixB == -2;
   175 			die "$a $b" if $ixA + $ixB == -2;
   176 			$ixA - $ixB;
   176 			$ixA - $ixB;
   177 		}
   177 		}