From 48e386d5decd46e79b732ceb643448d2b9659bb4 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 30 Nov 2008 02:08:37 +0500 Subject: Fixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang lists --- tools/erlparse.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/erlparse.lua') diff --git a/tools/erlparse.lua b/tools/erlparse.lua index c4372243..3fbb696f 100644 --- a/tools/erlparse.lua +++ b/tools/erlparse.lua @@ -98,7 +98,7 @@ readItem = function() return readString(); elseif ch == "<" then return readSpecialString(); - elseif isSpace(ch) or ch == "," then + elseif isSpace(ch) or ch == "," or ch == "|" then read(); return readItem(); else -- cgit v1.2.3