if a function is explicitly tagged as such, then don't try to further parse the function definition in Lua

This commit is contained in:
steve donovan 2011-06-20 13:16:05 +02:00
parent 1ee35487dc
commit 5387084565
1 changed files with 3 additions and 0 deletions

View File

@ -252,6 +252,9 @@ local function parse_file(fname,lang)
if doc.project_level(tags.class) then
module_found = tags.name
end
if tags.class == 'function' then
fun_follows, is_local = false, false
end
end
end
-- some hackery necessary to find the module() call