mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
fix broken moonc -p
This commit is contained in:
parent
de0717027d
commit
6d5dbf7237
@ -314,7 +314,9 @@ else
|
|||||||
target = opts.o
|
target = opts.o
|
||||||
end
|
end
|
||||||
|
|
||||||
local success, err = compile_and_write(fname, target)
|
local success, err = compile_and_write(fname, target, {
|
||||||
|
print = opts.p
|
||||||
|
})
|
||||||
if not success then
|
if not success then
|
||||||
io.stderr:write(fname .. "\t" .. err .. "\n")
|
io.stderr:write(fname .. "\t" .. err .. "\n")
|
||||||
os.exit(1)
|
os.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user