From b819441590b259c8390806e7124effb394541041 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 8 Sep 2012 17:19:46 +0100 Subject: LUACOV: Fix missing exclude for 'for.....in' lines --- extras/luacov/src/bin/luacov | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.1