Don't call function when missing. Tweak needed for ldoc to build its own documentation files.
This commit is contained in:
parent
9b40e03e3a
commit
8b48e1d256
|
@ -23,7 +23,7 @@ local function resolve_inline_references (ldoc, txt, item, plain)
|
||||||
local ref,err = markup.process_reference(qname)
|
local ref,err = markup.process_reference(qname)
|
||||||
if not ref then
|
if not ref then
|
||||||
err = err .. ' ' .. qname
|
err = err .. ' ' .. qname
|
||||||
if item then item:warning(err)
|
if item and item.warning then item:warning(err)
|
||||||
else
|
else
|
||||||
io.stderr:write('nofile error: ',err,'\n')
|
io.stderr:write('nofile error: ',err,'\n')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue