malformed ref check did not allow - (in example file names)

This commit is contained in:
steve donovan 2012-01-09 14:07:24 +02:00
parent 461fe4b711
commit 725e49f50e
1 changed files with 1 additions and 1 deletions

View File

@ -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?