Module:ISO 3166/sandbox: Difference between revisions

Content deleted Content added
Some optimizations for luacode(): Made Hyphenation fallback lazy with more common case first; only call getArgs() once
Undefined variable reference checking could have helped!
Line 100:
 
function p.luacode(args, skipHyphenSplit)
local country, subdivision = countryargs[1], subdivisionargs[2]
--error(country)
if not skipHyphenSplit then