View Single Post
12-11-13, 08:14 PM   #21
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I'd guess that's probably more related to the amount of code between the "if" and "elseif" for each locale. What happens if you do it this way instead:

Code:
if locale == A then
    -- stuff
return end

if locale == B then
    -- stuff
return end
Since it's only complaining after 142,112 lines, it should be able to handle multiple independent "control structures" of only 12,000 lines each.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote