Merge branch 'master' of github.com:stevedonovan/LDoc

This commit is contained in:
steve donovan 2012-02-29 19:21:40 +02:00
commit c8f556804e
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ end
function Module:process_see_reference (s,modules)
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..'"'
end
-- is this a fully qualified module name?