inferred parameter comments had extra line feed

This commit is contained in:
steve donovan 2011-04-13 18:49:29 +02:00
parent 8aabee8cd2
commit f3bb614503
1 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,8 @@ function M.get_parameters (tok)
if #ltl[1] == 0 then return args end -- no arguments
local function set_comment (idx,tok)
args.comments[args[idx]] = value_of(tok)
local text = value_of(tok):gsub('%s*$','')
args.comments[args[idx]] = text
end
for i = 1,#ltl do