summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-08 17:19:46 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-08 17:19:46 +0100
commitb819441590b259c8390806e7124effb394541041 (patch)
tree4ad9a08878eb9b9e06ecad512d381fe9e98eebcb
parent263007415452f078326a757f8cb58602960a982b (diff)
downloadgall-b819441590b259c8390806e7124effb394541041.tar.gz
LUACOV: Fix missing exclude for 'for.....in' lines
-rwxr-xr-xextras/luacov/src/bin/luacov1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/luacov/src/bin/luacov b/extras/luacov/src/bin/luacov
index 6a24bc6..71b291e 100755
--- a/extras/luacov/src/bin/luacov
+++ b/extras/luacov/src/bin/luacov
@@ -77,6 +77,7 @@ local exclusions =
{ true, "local%s+[%w_,%s]+%s*=" }, -- "local var1, ..., varN ="
{ true, "local%s+function%s*%([%w_,%.%s]*%)" }, -- "local function(arg1, ..., argN)"
{ true, "local%s+function%s+[%w_]*%s*%([%w_,%.%s]*%)" }, -- "local function f (arg1, ..., argN)"
+ { true, "for.+in" } -- 'for long,arg,list in'
}
local function excluded(line)