From 9aed5f791f903dd1d5bd997fcb15bcece4c8e9e4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 9 Jan 2017 10:17:09 +0100 Subject: tools/erlparse: Remove use of deprecated module() function --- tools/erlparse.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/erlparse.lua b/tools/erlparse.lua index 25c38bcf..45bed265 100644 --- a/tools/erlparse.lua +++ b/tools/erlparse.lua @@ -189,9 +189,9 @@ local function readFile(filename) end; end -module "erlparse" +local _M = {}; -function parseFile(file) +function _M.parseFile(file) return readFile(file); end -- cgit v1.2.3