Added a few strategically placed spaces, to improve the indentation of the output.
authorSimon Howkins <simonh@symbian.org>
Mon, 07 Jun 2010 15:17:50 +0100
changeset 1077 f16ac94c147c
parent 1076 86434e6d9873
child 1078 551e851f4b49
Added a few strategically placed spaces, to improve the indentation of the output.
common/tools/split_sysdef.pl
--- a/common/tools/split_sysdef.pl	Mon Jun 07 15:04:21 2010 +0100
+++ b/common/tools/split_sysdef.pl	Mon Jun 07 15:17:50 2010 +0100
@@ -95,8 +95,8 @@
 my $systemmodel_attributes = $systemmodel->getAttributes();
 my $systemmodel_attributes_tostring = '';
 for ($systemmodel_attributes->getValues) {$systemmodel_attributes_tostring .= " ".$_->getName."=\"".$_->getValue."\"";}
-$packagedef_header .= "<systemModel$systemmodel_attributes_tostring>\n";
-$packagedef_trailer = "\n</systemModel>".$packagedef_trailer;
+$packagedef_header .= " <systemModel$systemmodel_attributes_tostring>\n";
+$packagedef_trailer = "\n </systemModel>".$packagedef_trailer;
 
 for my $layer ( $systemmodel->getElementsByTagName("layer") )
 {
@@ -105,8 +105,8 @@
 	my $layer_attributes = $layer->getAttributes();
 	my $layer_attributes_tostring = '';
 	for ($layer_attributes->getValues) {$layer_attributes_tostring .= " ".$_->getName."=\"".$_->getValue."\"";}
-	my $layer_header = "<layer$layer_attributes_tostring>\n";
-	my $layer_trailer = "\n</layer>";
+	my $layer_header = "  <layer$layer_attributes_tostring>\n   ";
+	my $layer_trailer = "\n  </layer>";
 	
 	for my $block ( $layer->getElementsByTagName("block") )
 	{