diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-30 02:08:37 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-30 02:08:37 +0500 |
commit | 48e386d5decd46e79b732ceb643448d2b9659bb4 (patch) | |
tree | a2d57d2dfcbaa4620ef3ea82978911f5006ac2e0 /tools/erlparse.lua | |
parent | f5830f6ada6ab5d5f22098ff9988a1929d908c49 (diff) | |
download | prosody-48e386d5decd46e79b732ceb643448d2b9659bb4.tar.gz prosody-48e386d5decd46e79b732ceb643448d2b9659bb4.zip |
Fixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang lists
Diffstat (limited to 'tools/erlparse.lua')
-rw-r--r-- | tools/erlparse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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
|