Diff

tools/erlparse.lua @ 489:237cddb1a785

Fixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang lists
author Waqas Hussain <waqas20@gmail.com>
date Sun, 30 Nov 2008 02:08:37 +0500
parent 482:b86082df0bc0
child 519:cccd610a0ef9
line wrap: on
line diff
--- a/tools/erlparse.lua	Sat Nov 29 19:52:20 2008 +0000
+++ b/tools/erlparse.lua	Sun Nov 30 02:08:37 2008 +0500
@@ -98,7 +98,7 @@
 		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