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.
This commit is contained in:
parent
ed1d0954ca
commit
eda2d36b18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330100
@ -249,15 +249,6 @@ function config.setKey(key, name, value)
|
|||||||
modules[key][name] = value
|
modules[key][name] = value
|
||||||
end
|
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)
|
function config.isValidComment(line)
|
||||||
if line ~= nil then
|
if line ~= nil then
|
||||||
local s = line:match("^%s*#.*")
|
local s = line:match("^%s*#.*")
|
||||||
|
Loading…
Reference in New Issue
Block a user