[Swift-commit] r6354 - branches/faster/src/org/griphyn/vdl/engine

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Mar 8 12:56:01 CST 2013


Author: hategan
Date: 2013-03-08 12:56:01 -0600 (Fri, 08 Mar 2013)
New Revision: 6354

Modified:
   branches/faster/src/org/griphyn/vdl/engine/VariableScope.java
Log:
fixed inhibitClosing in else branch

Modified: branches/faster/src/org/griphyn/vdl/engine/VariableScope.java
===================================================================
--- branches/faster/src/org/griphyn/vdl/engine/VariableScope.java	2013-03-08 18:55:36 UTC (rev 6353)
+++ branches/faster/src/org/griphyn/vdl/engine/VariableScope.java	2013-03-08 18:56:01 UTC (rev 6354)
@@ -308,6 +308,9 @@
 	        inhibitClosing = new HashSet<String>();
 	    }
 		inhibitClosing.add(name);
+		if (thenScope != null) {
+		    setPreClose(name, 0);
+		}
 	}
 
 	public void addVariable(String name, String type, String context, boolean global, XmlObject src) throws CompilationException {




More information about the Swift-commit mailing list