Diff

tools/erlparse.lua @ 7819:ad709ee7d3d8

tools/erlparse: Remove use of deprecated module() function
author Kim Alvefur <zash@zash.se>
date Mon, 09 Jan 2017 10:17:09 +0100
parent 5776:bd0ff8ae98a8
line wrap: on
line diff
--- a/tools/erlparse.lua	Sun Jan 08 14:21:08 2017 +0100
+++ b/tools/erlparse.lua	Mon Jan 09 10:17:09 2017 +0100
@@ -189,9 +189,9 @@
 	end;
 end
 
-module "erlparse"
+local _M = {};
 
-function parseFile(file)
+function _M.parseFile(file)
 	return readFile(file);
 end