changeset 17:566960135ea1

Small bit of cleanup now that the string escaping bug is fixed.
author Mike Pavone <pavone@retrodev.com>
date Fri, 09 Aug 2013 04:31:14 -0700
parents cb5108f62f93
children a0e66161bde0
files src/requests.tp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/requests.tp	Fri Aug 09 04:17:27 2013 -0700
+++ b/src/requests.tp	Fri Aug 09 04:31:14 2013 -0700
@@ -14,9 +14,9 @@
 		#{
 			string <- {
 				//remove the second escaped quote, it will compile.
-				idStr <- "\"id\"" //;\"" . id . "\""
-				progStr <- "b" // "\"program\":\"" . prog . "\""
-				idStr . progStr
+				idStr <- "\"id\":\"" . id . "\""
+				progStr <- "\"program\":\"" . prog . "\""
+				"{" . idStr . "," . progStr . "}"
 			}
 		}
 	}