Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/soar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ function soar (lua, infile, manifest, outfile)
function STANDALONE_LUA() end
]])

for mod,filename in pairs(sources) do
local sorted_sources = {}
for mod in pairs(sources) do tinsert(sorted_sources, mod) end
table.sort(sorted_sources)
for _,mod in ipairs(sorted_sources) do
local filename = sources[mod]
if type(filename) == 'string' then -- i.e. not explicitly excluded
out:write("\n----------------- begin ", mod)
if not hide_filenames then
Expand Down