lua-users home
lua-l archive

Re: [ANN] LuaDoc 3.0 Released

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


	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

AltStyle によって変換されたページ (->オリジナル) /