1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-11-14 17:49:02 -08:00

don't error when no options are given

d'oh!
This commit is contained in:
Connor Olding 2015-11-24 17:15:12 -08:00
parent 5aa0b5abe1
commit 9ccf2fd883

View file

@ -1334,7 +1334,7 @@ local function assemble(fn_or_asm, writer, options)
return parser:parse(asm)
end
if options.unsafe then
if options and options.unsafe then
return main()
else
local ok, err = pcall(main)