aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/sys_pre_expand.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-10-28 15:25:24 +0100
committerBjörn Gustavsson <[email protected]>2015-04-30 12:14:29 +0200
commitd20cf6b7d18fd45d6c1beaa39aa87be90080f30b (patch)
tree043ef60b97f7cb426dd8a581ea4a3430e3982147 /lib/compiler/src/sys_pre_expand.erl
parentfe070a32f9f685ef4df1a5123e9328bb82e3947a (diff)
downloadotp-d20cf6b7d18fd45d6c1beaa39aa87be90080f30b.tar.gz
otp-d20cf6b7d18fd45d6c1beaa39aa87be90080f30b.tar.bz2
otp-d20cf6b7d18fd45d6c1beaa39aa87be90080f30b.zip
compiler: Use module erl_anno
Diffstat (limited to 'lib/compiler/src/sys_pre_expand.erl')
-rw-r--r--lib/compiler/src/sys_pre_expand.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/compiler/src/sys_pre_expand.erl b/lib/compiler/src/sys_pre_expand.erl
index 6cc849a9d5..4c4628d580 100644
--- a/lib/compiler/src/sys_pre_expand.erl
+++ b/lib/compiler/src/sys_pre_expand.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2014. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2015. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -115,7 +115,8 @@ is_fa_list(_) -> false.
module_predef_funcs(St) ->
{Mpf1,St1}=module_predef_func_beh_info(St),
{Mpf2,St2}=module_predef_funcs_mod_info(St1),
- {Mpf1++Mpf2,St2}.
+ Mpf = [erl_parse:new_anno(F) || F <- Mpf1++Mpf2],
+ {Mpf,St2}.
module_predef_func_beh_info(#expand{callbacks=[]}=St) ->
{[], St};