aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_parse.yrl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-10-24 19:06:34 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-01-28 17:06:42 +0100
commit6fdad74f41803089a0f9026c98f319daecda9a50 (patch)
treea62dd33f1bc4ee7e2ada65135919b599c11d9be9 /lib/stdlib/src/erl_parse.yrl
parentf8345dc86a1787c3c8deb06befbb697f37db1c0b (diff)
downloadotp-6fdad74f41803089a0f9026c98f319daecda9a50.tar.gz
otp-6fdad74f41803089a0f9026c98f319daecda9a50.tar.bz2
otp-6fdad74f41803089a0f9026c98f319daecda9a50.zip
erts,stdlib: Change map module name to maps
Name conforms to EEP.
Diffstat (limited to 'lib/stdlib/src/erl_parse.yrl')
-rw-r--r--lib/stdlib/src/erl_parse.yrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl
index 6d9aafa980..6316db7054 100644
--- a/lib/stdlib/src/erl_parse.yrl
+++ b/lib/stdlib/src/erl_parse.yrl
@@ -896,7 +896,7 @@ normalise({cons,_,Head,Tail}) ->
normalise({tuple,_,Args}) ->
list_to_tuple(normalise_list(Args));
normalise({map,_,Pairs}=M) ->
- map:from_list(lists:map(fun
+ maps:from_list(lists:map(fun
%% only allow '=>'
({map_field_assoc,_,K,V}) -> {normalise(K),normalise(V)};
(_) -> erlang:error({badarg,M})