Fix @within
This commit is contained in:
parent
aa4cd9daf8
commit
3dada49e07
|
@ -23,9 +23,9 @@ local TAG_MULTI,TAG_ID,TAG_SINGLE,TAG_TYPE,TAG_FLAG,TAG_MULTI_LINE = 'M','id','S
|
||||||
-- - 'T' tags which represent a type, like 'function' (TAG_TYPE)
|
-- - 'T' tags which represent a type, like 'function' (TAG_TYPE)
|
||||||
local known_tags = {
|
local known_tags = {
|
||||||
param = 'M', see = 'M', comment = 'M', usage = 'ML', ['return'] = 'M', field = 'M', author='M',set='M';
|
param = 'M', see = 'M', comment = 'M', usage = 'ML', ['return'] = 'M', field = 'M', author='M',set='M';
|
||||||
class = 'id', name = 'id', pragma = 'id', alias = 'id', within = 'id',
|
class = 'id', name = 'id', pragma = 'id', alias = 'id',
|
||||||
copyright = 'S', summary = 'S', description = 'S', release = 'S', license = 'S',
|
copyright = 'S', summary = 'S', description = 'S', release = 'S', license = 'S',
|
||||||
fixme = 'S', todo = 'S', warning = 'S', raise = 'S', charset = 'S',
|
fixme = 'S', todo = 'S', warning = 'S', raise = 'S', charset = 'S', within = 'S',
|
||||||
['local'] = 'N', export = 'N', private = 'N', constructor = 'N', static = 'N',include = 'S',
|
['local'] = 'N', export = 'N', private = 'N', constructor = 'N', static = 'N',include = 'S',
|
||||||
-- project-level
|
-- project-level
|
||||||
module = 'T', script = 'T', example = 'T', topic = 'T', submodule='T', classmod='T', file='T',
|
module = 'T', script = 'T', example = 'T', topic = 'T', submodule='T', classmod='T', file='T',
|
||||||
|
@ -294,7 +294,7 @@ function File:finish()
|
||||||
end
|
end
|
||||||
item.display_name = display_name
|
item.display_name = display_name
|
||||||
this_mod.section = item
|
this_mod.section = item
|
||||||
this_mod.kinds:add_kind(display_name,display_name..' ',nil,item)
|
this_mod.kinds:add_kind(display_name,display_name,nil,item)
|
||||||
this_mod.sections:append(item)
|
this_mod.sections:append(item)
|
||||||
this_mod.sections.by_name[lookup_name:gsub('%A','_')] = item
|
this_mod.sections.by_name[lookup_name:gsub('%A','_')] = item
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue