[Swift-commit] r5127 - trunk/src/org/griphyn/vdl/engine

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Sep 19 03:12:18 CDT 2011


Author: hategan
Date: 2011-09-19 03:12:17 -0500 (Mon, 19 Sep 2011)
New Revision: 5127

Modified:
   trunk/src/org/griphyn/vdl/engine/Karajan.java
Log:
case handling for functions

Modified: trunk/src/org/griphyn/vdl/engine/Karajan.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/Karajan.java	2011-09-19 03:14:10 UTC (rev 5126)
+++ trunk/src/org/griphyn/vdl/engine/Karajan.java	2011-09-19 08:12:17 UTC (rev 5127)
@@ -1012,7 +1012,7 @@
 
 	public StringTemplate function(Function func, VariableScope scope) throws CompilationException {
 		StringTemplate funcST = template("function");
-		funcST.setAttribute("name", func.getName());
+		funcST.setAttribute("name", mangle(func.getName()));
 		ProcedureSignature funcSignature =  functionsMap.get(func.getName());
 		if(funcSignature == null) {
 			throw new CompilationException("Unknown function: @"+func.getName());




More information about the Swift-commit mailing list