Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-11-13, 08:14 PM   #18
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
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Are all addon "open source"?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off