charmxi: Fix some indentation bugs in generated output
authorPhil Miller <mille121@illinois.edu>
Sat, 31 Aug 2013 18:21:22 +0000 (13:21 -0500)
committerPhil Miller <mille121@illinois.edu>
Sat, 31 Aug 2013 18:21:40 +0000 (13:21 -0500)
src/xlat-i/xi-symbol.C

index 6793a92b45d2c5e99041e6498eddbf9a963f9c1f..02d86e896e321abe67ff6420c6028022c94ad009 100644 (file)
@@ -4267,7 +4267,7 @@ void Entry::genClosure(XStr& decls, bool isDef) {
   if (!isMessage) {
     genClosureTypeName = new XStr();
     genClosureTypeNameProxy = new XStr();
-    *genClosureTypeNameProxy << " Closure_" << container->baseName() << "::";
+    *genClosureTypeNameProxy << "Closure_" << container->baseName() << "::";
     *genClosureTypeNameProxy << name << "_" << entryCount << "_closure";
     *genClosureTypeName << name << "_" << entryCount << "_closure";
 
@@ -5237,9 +5237,9 @@ void ParamList::beginUnmarshallSDAGCall(XStr &str, bool usesImplBuf) {
 }
 void ParamList::beginUnmarshallSDAG(XStr &str) {
   if (isMarshalled()) {
-    str << "        PUP::fromMem implP(impl_buf);\n";
+    str << "          PUP::fromMem implP(impl_buf);\n";
     callEach(&Parameter::beginUnmarshall,str);
-    str << "        impl_buf+=CK_ALIGN(implP.size(),16);\n";
+    str << "          impl_buf+=CK_ALIGN(implP.size(),16);\n";
     callEach(&Parameter::unmarshallArrayDataSDAG,str);
   }
 }