blob: cfb09c07cdf1368799575f2db6051b31495292ca (
plain)
1
2
3
4
5
6
7
8
9
10
|
return function(...)
local sources = {}
for i, group in ipairs({ ... }) do
for _, source in ipairs(group) do
source.group_index = i
table.insert(sources, source)
end
end
return sources
end
|