Sun, 26 Jul 2009 17:29:56 +0500
ejabberdsql2prosody: Added support for the escape sequence '\\' in strings
tools/ejabberdsql2prosody.lua | file | annotate | diff | comparison | revisions |
--- a/tools/ejabberdsql2prosody.lua Sun Jul 26 15:36:06 2009 +0500 +++ b/tools/ejabberdsql2prosody.lua Sun Jul 26 17:29:56 2009 +0500 @@ -39,6 +39,7 @@ local function unescape(s) if s == "\\'" then return "'"; end if s == "\\n" then return "\n"; end + if s == "\\\\" then return "\\"; end error("Unknown escape sequence: "..s); end local function readString()