wurstscript / WurstScript

Programming language and toolkit to create Warcraft III Maps

Home Page:https://wurstlang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Lua] Parser Local Limit

KingHing opened this issue · comments

When the map script is translated to Lua, I am hitting some sort local variable limit, which causes the map not to run in Warcraft.

In one particular package, I do have quite a number of local variables declared at Init.

Lua has a hard limit of 200 locals per scope. You will have to use less locals or turn on optimizations which might reduce them.