 		private static function decodeString(encodedString:String):String
 		{
 			// remove quotes
+			var quote:String = encodedString.charAt(0);
 			var input:String = encodedString.substr(1, encodedString.length - 2);
+			input = input.split(quote + quote).join(quote); // handle doubled quote escape sequences
 			var output:String = "";
 			var begin:int = 0;
 			while (true)

					continue;
				
				// if the token starts with a quote, treat it as a String
				if (str.charAt(0) == '"' || str.charAt(0) == "'")
				{
					// parse quoted String, handling '""' escape sequence.
					tokens[i] = new CompiledConstant(str, decodeString(str));
				}
				else
				{

			};
			
			var prevDebug:Boolean = debug;
			debug = true;
			
			for each (var eq:String in eqs)
			{
