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:
parent
5aa0b5abe1
commit
9ccf2fd883
1 changed files with 1 additions and 1 deletions
2
lips.lua
2
lips.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue