[Swift-commit] r6443 - branches/faster/resources

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Apr 13 23:03:56 CDT 2013


Author: hategan
Date: 2013-04-13 23:03:56 -0500 (Sat, 13 Apr 2013)
New Revision: 6443

Modified:
   branches/faster/resources/Karajan.stg
Log:
invert previously incorrect condition check in iterate

Modified: branches/faster/resources/Karajan.stg
===================================================================
--- branches/faster/resources/Karajan.stg	2013-04-14 04:03:17 UTC (rev 6442)
+++ branches/faster/resources/Karajan.stg	2013-04-14 04:03:56 UTC (rev 6443)
@@ -198,7 +198,7 @@
 
 iterate(declarations, statements, cond, var, refs, cleanups, trace, line) ::= <<
 swift:while($var$$if(trace)$, _traceline="$line$"$endif$$if(refs)$, refs="$refs;separator=" "$"$endif$) {
-	if (swift:getFieldValue($cond$)) {
+	if (!swift:getFieldValue($cond$)) {
 		$sub_comp(declarations=declarations, statements=statements, cleanups=cleanups)$
 		next(swiftop:inc($var$))
 	}




More information about the Swift-commit mailing list