[Swift-commit] r2983 - trunk/resources

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Jun 30 06:38:26 CDT 2009


Author: benc
Date: 2009-06-30 06:38:26 -0500 (Tue, 30 Jun 2009)
New Revision: 2983

Modified:
   trunk/resources/Karajan.stg
Log:
More information for provenance, about foreach and if bodies.

Modified: trunk/resources/Karajan.stg
===================================================================
--- trunk/resources/Karajan.stg	2009-06-30 10:41:15 UTC (rev 2982)
+++ trunk/resources/Karajan.stg	2009-06-30 11:38:26 UTC (rev 2983)
@@ -213,12 +213,14 @@
       <vdl:new type="int" value="{\$\$}"/>
     </set>
 $endif$
-	<log level="info" message="FOREACH_IT_START line=$line$"/>
+	<log level="info" message="FOREACH_IT_START line=$line$ thread={#thread}"/>
+<log level="info"><string>SCOPE thread={#thread}</string></log>
+
     $declarations;separator="\n"$
     $if(statements)$
       $parallel(statements=statements)$
     $endif$
-    <log level="info" message="FOREACH_IT_END line=$line$"/>
+    <log level="info" message="FOREACH_IT_END line=$line$ thread={#thread}"/>
 </vdl:tparallelFor>
 >>
 
@@ -410,10 +412,12 @@
 <if>
   <vdl:getfieldvalue>$condition$</vdl:getfieldvalue>
   <then>
+<log level="info"><string>SCOPE thread={#thread}</string></log>
     $vthen$
   </then>
   $if(velse)$
   <else>
+<log level="info"><string>SCOPE thread={#thread}</string></log>
     $velse$
   </else>
   $endif$




More information about the Swift-commit mailing list