aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-01-21 16:30:03 +0100
committerHans Bolinder <[email protected]>2016-05-09 08:27:22 +0200
commitcfa1b7440a21f2d5bc08765edaf6dcf1a1736a05 (patch)
tree3aba93a8947e74c2f07474f59082f48525930493 /lib/compiler/src
parent34276c2e79a38eb34f1da94fba7bbabb76c4db5d (diff)
downloadotp-cfa1b7440a21f2d5bc08765edaf6dcf1a1736a05.tar.gz
otp-cfa1b7440a21f2d5bc08765edaf6dcf1a1736a05.tar.bz2
otp-cfa1b7440a21f2d5bc08765edaf6dcf1a1736a05.zip
compiler: Let module_info(attributes) skip more attributes
'callback' and 'optional_callbacks' are no longer wild attributes.
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/v3_kernel.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/src/v3_kernel.erl b/lib/compiler/src/v3_kernel.erl
index 4a6330fce4..402e3c4912 100644
--- a/lib/compiler/src/v3_kernel.erl
+++ b/lib/compiler/src/v3_kernel.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1999-2015. All Rights Reserved.
+%% Copyright Ericsson AB 1999-2016. 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.
@@ -147,6 +147,7 @@ include_attribute(callback) -> false;
include_attribute(opaque) -> false;
include_attribute(export_type) -> false;
include_attribute(record) -> false;
+include_attribute(optional_callbacks) -> false;
include_attribute(_) -> true.
function({#c_var{name={F,Arity}=FA},Body}, St0) ->