Charj: fix sdag construct indent
authorAaron Becker <akbecker@gmail.com>
Tue, 24 Aug 2010 21:04:53 +0000 (16:04 -0500)
committerAaron Becker <akbecker@gmail.com>
Tue, 24 Aug 2010 21:04:53 +0000 (16:04 -0500)
src/langs/charj/src/charj/translator/Charj.stg

index 46c1c03fb8d8caebcf5bddf3e90f63141d941436..02369fb2a0d80b9a0388a98d1e1a3663734fd936 100644 (file)
@@ -249,7 +249,9 @@ void <sym.name>::pup(PUP::er &p)
 
 <endif>
     <pupers; separator="\n">
-    <if(sym.hasSDAG)>__sdag_pup(p)<endif>
+<if(sym.hasSDAG)>
+    __sdag_pup(p)
+<endif>
 }
 
 <if(!sym.hasDefaultCtor)>
@@ -269,7 +271,9 @@ void <sym.name>::pup(PUP::er &p)
 void <sym.name>::constructorHelper()
 {
     <inits; separator="\n">
-    <if(sym.hasSDAG)>__sdag_init(p)<endif>
+<if(sym.hasSDAG)>
+    __sdag_init(p)
+<endif>
 }
 
 <if(needsMigration)>
@@ -307,7 +311,7 @@ chareDeclaration_h_cont(pds, sym, ident, ext, csds, needsPupInit, needsMigration
 <else>
 <if(ext)>/* superclass: <ext> */<endif>
 class <ident>: public CBase_<ident> {
-    <if(hasSDAG)><ident>_SDAG_CODE<endif>
+    <if(sym.hasSDAG)><ident>_SDAG_CODE<endif>
     <csds; separator="\n">
     <if(needsPupInit)>
     private: void pupInitMethod();