Removed some testing code
Kevin Lyles [08-28-10 - 20:52]
Removed some testing code
diff --git a/Regexps.lua b/Regexps.lua
index 8f5f90f..53148b2 100644
--- a/Regexps.lua
+++ b/Regexps.lua
@@ -34,28 +34,6 @@ local function makePatternTables()
table.insert(ww_regexes[category].SingleStat, {pattern, func})
end
end
- -- TODO: remove this in production?
- for _, category in pairs(patternCategories) do
- local empty = true
- for _ in pairs(ww_regexes[category].MultipleStat) do
- empty = false
- break
- end
- for _ in pairs(ww_regexes[category].SingleStat) do
- empty = false
- break
- end
- if empty then
- for _, regex in ipairs(ww_MultipleStatLines) do
- pattern, func = unpack(regex)
- table.insert(ww_regexes[category].MultipleStat, {pattern, func})
- end
- for _, regex in ipairs(ww_SingleStatLines) do
- pattern, func = unpack(regex)
- table.insert(ww_regexes[category].SingleStat, {pattern, func})
- end
- end
- end
end
function ww_initializeParser()