From 770edb40c00f02dc8246d6bf6251fda96dea7824 Mon Sep 17 00:00:00 2001 From: steve donovan Date: Wed, 13 Apr 2011 18:12:56 +0200 Subject: [PATCH] doc comments should not IMHO apply to local functions --- ldoc.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/ldoc.lua b/ldoc.lua index 6dbbf5d..9e1e984 100644 --- a/ldoc.lua +++ b/ldoc.lua @@ -267,9 +267,6 @@ local function parse_file(fname,lang) if ldoc_comment then comment = table.concat(comment) - if t == 'keyword' and v == 'local' then - t,v = tnext(tok) - end fun_follows = t == 'keyword' and v == 'function' if fun_follows or comment:find '@' then tags = extract_tags(comment)