Ah yeah. If you're trying to do something along these lines it'd throw the error at the for statement because you can't have a for statement within a table.
Lua Code:
--BAD STRUCTURE. DO NOT USE
local addonControls = {
--controls here
--BAD STRUCTURE
for( .... ) do
{
--Data here
}
end
}
Might go ahead and throw the full function/file on pastebin or something so can better see what the error is.