aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-09-14 23:26:03 +0200
committerAnders Svensson <[email protected]>2015-09-14 23:26:03 +0200
commitf4534cb9841c4ec9d6c7048555ed1ba5169b966f (patch)
treeb75c2a1592303bb2d7e64ea68e00b2c7b2210d04 /lib/tools/src
parent9fc6588660a6834f8545de32f7677c0d2acd7379 (diff)
parent44a53a37f39e65c935ed2648ec74dc0f741611e1 (diff)
downloadotp-f4534cb9841c4ec9d6c7048555ed1ba5169b966f.tar.gz
otp-f4534cb9841c4ec9d6c7048555ed1ba5169b966f.tar.bz2
otp-f4534cb9841c4ec9d6c7048555ed1ba5169b966f.zip
Merge branch 'maint'
Diffstat (limited to 'lib/tools/src')
-rw-r--r--lib/tools/src/cover.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/src/cover.erl b/lib/tools/src/cover.erl
index 8d1cb96504..366d6bcbd9 100644
--- a/lib/tools/src/cover.erl
+++ b/lib/tools/src/cover.erl
@@ -2437,7 +2437,7 @@ do_analyse_to_file1(Module, OutFile, ErlFile, HTML) ->
"\n\n"]),
Pattern = {#bump{module=Module,line='$1',_='_'},'$2'},
- MS = [{Pattern,[],[{{'$1','$2'}}]}],
+ MS = [{Pattern,[{is_integer,'$1'},{'>','$1',0}],[{{'$1','$2'}}]}],
CovLines = lists:keysort(1,ets:select(?COLLECTION_TABLE, MS)),
print_lines(Module, CovLines, InFd, OutFd, 1, HTML),