fix broken moonc -p

This commit is contained in:
leaf corcoran 2014-07-08 23:28:45 -07:00
parent de0717027d
commit 6d5dbf7237

View File

@ -314,7 +314,9 @@ else
target = opts.o
end
local success, err = compile_and_write(fname, target)
local success, err = compile_and_write(fname, target, {
print = opts.p
})
if not success then
io.stderr:write(fname .. "\t" .. err .. "\n")
os.exit(1)