ejabberdsql2prosody: remove unused function pushback() [luacheck]
The same function seems to exist in tools/erlparse.lua, also unused.
--- a/tools/ejabberdsql2prosody.lua Fri Aug 12 01:38:40 2016 +0200
+++ b/tools/ejabberdsql2prosody.lua Fri Aug 12 13:29:27 2016 +0800
@@ -42,10 +42,6 @@
if expected and ch ~= expected then error("expected: "..expected.."; got: "..(ch or "nil").." on line "..line); end
return ch;
end
-local function pushback(ch)
- if last then error(); end
- last = ch;
-end
local function peek()
if not last then last = read(); end
return last;