aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-03 09:10:42 +0100
committerHans Bolinder <[email protected]>2016-02-03 09:10:42 +0100
commit2f8d51915c3dff7e95c62820b6f7c0ce2ff5ef5a (patch)
tree936820b452b090b57e168ee2eba9c864dd18f6dc /lib/tools/src
parent246927d866b7de938cc58c95498f54b03869cbe5 (diff)
parentf7acd46a6497720414d6f281967c2fe370b54415 (diff)
downloadotp-2f8d51915c3dff7e95c62820b6f7c0ce2ff5ef5a.tar.gz
otp-2f8d51915c3dff7e95c62820b6f7c0ce2ff5ef5a.tar.bz2
otp-2f8d51915c3dff7e95c62820b6f7c0ce2ff5ef5a.zip
Merge branch 'maint'
* maint: tools: Add a Cover test tools: Fix wrong instrumentation of binary comprehensions
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 69e0f59b68..3732b0fc85 100644
--- a/lib/tools/src/cover.erl
+++ b/lib/tools/src/cover.erl
@@ -2003,7 +2003,7 @@ munge_expr({lc,Line,Expr,Qs}, Vars) ->
{{lc,Line,MungedExpr,MungedQs}, Vars3};
munge_expr({bc,Line,Expr,Qs}, Vars) ->
{bin,BLine,[{bin_element,EL,Val,Sz,TSL}|Es]} = Expr,
- Expr2 = {bin,BLine,[{bin_element,EL,?BLOCK1(Val),Sz,TSL}|Es]},
+ Expr2 = {bin,BLine,[{bin_element,EL,Val,Sz,TSL}|Es]},
{MungedExpr,Vars2} = munge_expr(Expr2, Vars),
{MungedQs, Vars3} = munge_qualifiers(Qs, Vars2),
{{bc,Line,MungedExpr,MungedQs}, Vars3};