svn commit: r330100 - head/stand/lua
Kyle Evans
kevans at FreeBSD.org
Wed Feb 28 05:02:06 UTC 2018
Author: kevans
Date: Wed Feb 28 05:02:05 2018
New Revision: 330100
URL: https://svnweb.freebsd.org/changeset/base/330100
Log:
lualoader: Remove debug function
Our module bits ended up more stable than I anticipated, so this turns out
to be no longer useful.
If things like this need to come back, we should do it in a separate 'debug'
module to serve as a collection of debugging aides. As a rule, this 'debug'
module would *not* be allowed as a requirement of any other modules in-tree.
Modified:
head/stand/lua/config.lua
Modified: head/stand/lua/config.lua
==============================================================================
--- head/stand/lua/config.lua Wed Feb 28 04:31:19 2018 (r330099)
+++ head/stand/lua/config.lua Wed Feb 28 05:02:05 2018 (r330100)
@@ -249,15 +249,6 @@ function config.setKey(key, name, value)
modules[key][name] = value
end
-function config.lsModules()
- print("== Listing modules")
- for k, v in pairs(modules) do
- print(k, v.load)
- end
- print("== List of modules ended")
-end
-
-
function config.isValidComment(line)
if line ~= nil then
local s = line:match("^%s*#.*")
More information about the svn-src-all
mailing list