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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Apr 12 16:33:33 CDT 2014


Author: hategan
Date: 2014-04-12 16:33:33 -0500 (Sat, 12 Apr 2014)
New Revision: 7767

Modified:
   trunk/src/org/griphyn/vdl/engine/Karajan.java
Log:
escape open curly bracket in strings (bug 1237)

Modified: trunk/src/org/griphyn/vdl/engine/Karajan.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/Karajan.java	2014-04-11 21:49:13 UTC (rev 7766)
+++ trunk/src/org/griphyn/vdl/engine/Karajan.java	2014-04-12 21:33:33 UTC (rev 7767)
@@ -1987,7 +1987,9 @@
 	            case '"':
 	                sb.append("\\\"");
 	                break;
-	            
+	            case '{':
+	            	sb.append("\\{");
+	            	break;
 	            default:
 	                sb.append(c);
 	        }




More information about the Swift-commit mailing list