Merge pull request #221 from th-we/bracket-fix

Allow "]" in description after tag modifiers
This commit is contained in:
Steve J Donovan 2016-04-10 16:44:46 +02:00
commit 7dd360e7c0
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ local tnext, append = lexer.skipws, table.insert
-- followed by the value, which may extend over several lines.
local luadoc_tag = '^%s*@(%w+)'
local luadoc_tag_value = luadoc_tag..'(.*)'
local luadoc_tag_mod_and_value = luadoc_tag..'%[(.*)%](.*)'
local luadoc_tag_mod_and_value = luadoc_tag..'%[([^%]]*)%](.*)'
-- assumes that the doc comment consists of distinct tag lines
local function parse_at_tags(text)