Allow "]" in description after tag modifiers

This commit is contained in:
Thomas Weber 2015-12-11 08:56:45 +01:00
parent aa4cd9daf8
commit b5e02a655b
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. -- followed by the value, which may extend over several lines.
local luadoc_tag = '^%s*@(%w+)' local luadoc_tag = '^%s*@(%w+)'
local luadoc_tag_value = luadoc_tag..'(.*)' 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 -- assumes that the doc comment consists of distinct tag lines
local function parse_at_tags(text) local function parse_at_tags(text)