diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-08 17:19:46 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-08 17:19:46 +0100 |
commit | b819441590b259c8390806e7124effb394541041 (patch) | |
tree | 4ad9a08878eb9b9e06ecad512d381fe9e98eebcb | |
parent | 263007415452f078326a757f8cb58602960a982b (diff) | |
download | gall-b819441590b259c8390806e7124effb394541041.tar.gz |
LUACOV: Fix missing exclude for 'for.....in' lines
-rwxr-xr-x | extras/luacov/src/bin/luacov | 1 |
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) |