webmcp
changeset 197:e81669ae2e4d
Fix in autodoc.lua to allow ellipsis in return values
author | jbe |
---|---|
date | Mon Aug 11 21:54:23 2014 +0200 (2014-08-11) |
parents | ce8fd7767b38 |
children | bb298fc60952 |
files | framework/bin/autodoc.lua |
line diff
1.1 --- a/framework/bin/autodoc.lua Mon Aug 11 21:29:46 2014 +0200 1.2 +++ b/framework/bin/autodoc.lua Mon Aug 11 21:54:23 2014 +0200 1.3 @@ -62,7 +62,7 @@ 1.4 table.concat(stripped_synopsis, " "), "[%s]+", " " 1.5 ) 1.6 local func_call = string.match( 1.7 - concatted_synopsis, "^[A-Za-z0-9_, ]+= ?(.-) ?$" 1.8 + concatted_synopsis, "^[A-Za-z0-9_,. ]+= ?(.-) ?$" 1.9 ) 1.10 if not func_call then 1.11 func_call = string.match(