aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_pp.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-06-12 15:25:45 +0200
committerHans Bolinder <[email protected]>2018-06-25 10:19:45 +0200
commit9015e696e61abbc9088dfa4cd333c56985d05e61 (patch)
treea478b2b74736dc524c513aa518f86bd09edc9b39 /lib/stdlib/src/erl_pp.erl
parentebb767a2656a4d604e6f860cc03cbb4c0b0aecb8 (diff)
downloadotp-9015e696e61abbc9088dfa4cd333c56985d05e61.tar.gz
otp-9015e696e61abbc9088dfa4cd333c56985d05e61.tar.bz2
otp-9015e696e61abbc9088dfa4cd333c56985d05e61.zip
stdlib: Add a few uses of erl_anno
With DEBUG=true in erl_anno, erl_parse, and erl_pp a few (harmless) non-opaque accesses of annotations were found.
Diffstat (limited to 'lib/stdlib/src/erl_pp.erl')
-rw-r--r--lib/stdlib/src/erl_pp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_pp.erl b/lib/stdlib/src/erl_pp.erl
index 367dbefb82..dd302a2880 100644
--- a/lib/stdlib/src/erl_pp.erl
+++ b/lib/stdlib/src/erl_pp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -59,7 +59,7 @@
_ -> ?TEST(T)
end).
-define(EXPRS_TEST(L),
- [?TEST(E) || E <- L]).
+ _ = [?TEST(E) || E <- L]).
-define(TEST(T),
%% Assumes that erl_anno has been compiled with DEBUG=true.
%% erl_pp does not use the annoations, but test it anyway.