[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaDoc 3.0 Released
- From: Tomas Guisasola Gorham <tomas@...>
- Date: Mon, 13 Aug 2007 23:12:26 -0300 (BRT)
Hi Mitchell
> In taglet/standard.lua, I had to modify the line in the parse_comment
> function:
>
> if not util.line_empty(line) and not line:find"%s*local" then
>
> to be
>
> if not util.line_empty(line) then
>
> because comments like:
>
> ---
> -- Foo
> local function bar()
> ...
> end
>
> aren't parsed.
>
> Is there a reason for the current implementation?
I'll check if there is a true reason. LuaDoc was not
supposed to generate documentation of not exported functions, but
in fact we cannot assure that the above example is not an exported
function. I am not sure about what LuaDoc should do in many cases.
What did you expect?
Regards,
Tomás