fix indentation

This commit is contained in:
leaf corcoran 2014-06-17 00:03:13 -07:00
parent 829dc1ae1c
commit 6825537878

View File

@ -285,7 +285,6 @@ function get_sleep_func()
return sleep return sleep
end end
function plural(count, word) function plural(count, word)
if count ~= 1 then if count ~= 1 then
word = word .. "s" word = word .. "s"
@ -375,10 +374,10 @@ if opts.w then
for fname in protected do for fname in protected do
local target local target
if opts.o then if opts.o then
target = opts.o target = opts.o
else else
target = target_dir..convert_path(fname) target = target_dir..convert_path(fname)
end end
local success, err = compile_and_write(fname, target) local success, err = compile_and_write(fname, target)
if not success then if not success then
io.stderr:write(table.concat({ io.stderr:write(table.concat({
@ -405,12 +404,12 @@ elseif opts.l then
end end
else else
for _, fname in ipairs(files) do for _, fname in ipairs(files) do
local target local target
if opts.o then if opts.o then
target = opts.o target = opts.o
else else
target = target_dir..convert_path(fname) target = target_dir..convert_path(fname)
end end
local success, err = compile_and_write(fname, target) local success, err = compile_and_write(fname, target)
if not success then if not success then
io.stderr:write(fname .. "\t" .. err .. "\n") io.stderr:write(fname .. "\t" .. err .. "\n")