Skip to content
Snippets Groups Projects
Commit 850f96dd authored by LJ Sonic's avatar LJ Sonic
Browse files

Prevent "none" from being recognised as a valid constant name

parent cae476c2
Branches
No related tags found
No related merge requests found
...@@ -123,6 +123,7 @@ local function extractConstant(row, nameIndex, valueIndex, descriptionIndex, pag ...@@ -123,6 +123,7 @@ local function extractConstant(row, nameIndex, valueIndex, descriptionIndex, pag
local names = util.wikiToPlainString(nameCell.content) local names = util.wikiToPlainString(nameCell.content)
if names == 'n/a' if names == 'n/a'
or names == "none"
or ignoredConstants[names:match('[%w_]+')] then or ignoredConstants[names:match('[%w_]+')] then
return return
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment