issue #178 Allow class merging
This commit is contained in:
parent
049945ce3d
commit
c34957cd16
|
@ -238,7 +238,7 @@ function File:finish()
|
|||
elseif doc.project_level(item.type) then
|
||||
this_mod = item
|
||||
local package,mname,submodule
|
||||
if item.type == 'module' then
|
||||
if item.type == 'module' or item.type == 'classmod' then
|
||||
-- if name is 'package.mod', then mod_name is 'mod'
|
||||
package,mname = split_dotted_name(this_mod.name)
|
||||
if self.args.merge then
|
||||
|
|
|
@ -31,12 +31,13 @@ end
|
|||
--- third useless function.
|
||||
-- Can always put comments inline, may
|
||||
-- be multiple.
|
||||
-- note that first comment is refers to return
|
||||
-- note that first comment refers to return type!
|
||||
function three ( -- person:
|
||||
name, -- string: person's name
|
||||
age -- int:
|
||||
-- not less than zero!
|
||||
)
|
||||
end
|
||||
|
||||
---- function with single optional arg
|
||||
-- @param[opt] one
|
||||
|
|
Loading…
Reference in New Issue