Avoid return documentation slipping into preceding function documenation

This commit is contained in:
Thomas Weber 2015-12-23 14:19:21 +01:00
parent aa4cd9daf8
commit 3e4bb302da
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ function doc.expand_annotation_item (tags, last_item)
tags:add('name',item_name..'-'..tag..acount)
acount = acount + 1
return true
elseif tag == 'return' then
elseif tags.error and tag == 'return' then
last_item:set_tag(tag,value)
end
end