Avoid return documentation slipping into preceding function documenation
This commit is contained in:
parent
aa4cd9daf8
commit
3e4bb302da
|
@ -141,7 +141,7 @@ function doc.expand_annotation_item (tags, last_item)
|
||||||
tags:add('name',item_name..'-'..tag..acount)
|
tags:add('name',item_name..'-'..tag..acount)
|
||||||
acount = acount + 1
|
acount = acount + 1
|
||||||
return true
|
return true
|
||||||
elseif tag == 'return' then
|
elseif tags.error and tag == 'return' then
|
||||||
last_item:set_tag(tag,value)
|
last_item:set_tag(tag,value)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue