diff options
author | Steven Barth <steven@midlink.org> | 2008-08-27 17:49:45 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-27 17:49:45 +0000 |
commit | a4761ed42f73c928f9ce573ed35de9a246a64eb9 (patch) | |
tree | 2965f55a69c894e6e7f16b0ea2002ad12f5dd7f8 /contrib/luadoc | |
parent | af18067e75c3b6d9bbfa31b7ac844e6d3c9013e0 (diff) |
Fix some Luadoc glitches
Diffstat (limited to 'contrib/luadoc')
-rw-r--r-- | contrib/luadoc/lua/luadoc/doclet/html/function.lp | 2 | ||||
-rw-r--r-- | contrib/luadoc/lua/luadoc/doclet/html/module.lp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/luadoc/lua/luadoc/doclet/html/function.lp b/contrib/luadoc/lua/luadoc/doclet/html/function.lp index afc645b07..a870ff8bb 100644 --- a/contrib/luadoc/lua/luadoc/doclet/html/function.lp +++ b/contrib/luadoc/lua/luadoc/doclet/html/function.lp @@ -8,7 +8,7 @@ else end %> -<dt><%=func.private and "local " or ""%><a name="<%=func.name%>"></a><strong><%=(oop and func.name:gsub("%.",":") or func.name:gsub(".+%.",""))%></strong> (<%=table.concat(func.param, ", ")%>)</dt> +<dt><%=func.private and "local " or ""%><a name="<%=func.name%>"></a><strong><%=(oop and func.name:gsub("%.",":") or func.name:gsub(".+%.",""))%></strong> (<%=table.concat(func.param or {}, ", ")%>)</dt> <dd> <%=func.description or ""%> diff --git a/contrib/luadoc/lua/luadoc/doclet/html/module.lp b/contrib/luadoc/lua/luadoc/doclet/html/module.lp index 11e2f118b..daa708628 100644 --- a/contrib/luadoc/lua/luadoc/doclet/html/module.lp +++ b/contrib/luadoc/lua/luadoc/doclet/html/module.lp @@ -64,7 +64,7 @@ <%for _, func_name in ipairs(module_doc.functions) do local func_data = module_doc.functions[func_name]%> <tr> - <td class="name" nowrap><%=func_data.private and "local " or ""%><a href="#<%=func_name%>"><%=(oop and func_name:gsub("%.",":") or func_name:gsub(".+%.",""))%></a> (<%=table.concat(module_doc.functions[func_name].param, ", ")%>)</td> + <td class="name" nowrap><%=func_data.private and "local " or ""%><a href="#<%=func_name%>"><%=(oop and func_name:gsub("%.",":") or func_name:gsub(".+%.",""))%></a> (<%=table.concat(module_doc.functions[func_name].param or {}, ", ")%>)</td> <td class="summary"><%=module_doc.functions[func_name].summary%></td> </tr> <%end%> |