Merge branch 'master' of github.com:stevedonovan/LDoc
This commit is contained in:
commit
c8f556804e
|
@ -485,7 +485,7 @@ end
|
||||||
|
|
||||||
function Module:process_see_reference (s,modules)
|
function Module:process_see_reference (s,modules)
|
||||||
local mod_ref,fun_ref,name,packmod
|
local mod_ref,fun_ref,name,packmod
|
||||||
if not s:match '^[%w_%.%:]+$' or not s:match '[%w_]$' then
|
if not s:match '^[%w_%.%:%-]+$' or not s:match '[%w_]$' then
|
||||||
return nil, "malformed see reference: '"..s..'"'
|
return nil, "malformed see reference: '"..s..'"'
|
||||||
end
|
end
|
||||||
-- is this a fully qualified module name?
|
-- is this a fully qualified module name?
|
||||||
|
|
Loading…
Reference in New Issue