aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorJayson Vantuyl <[email protected]>2010-05-22 18:12:55 -0700
committerRaimo Niskanen <[email protected]>2010-05-24 12:20:43 +0200
commita62abc91b5f95fc9137d42867e1429867a77bf4e (patch)
treeb1f73e424737405be7f3417639e765f0290e43c8 /lib/stdlib/src
parentf0286fc534e3905aba9b057b04fc73b3663dc77c (diff)
downloadotp-a62abc91b5f95fc9137d42867e1429867a77bf4e.tar.gz
otp-a62abc91b5f95fc9137d42867e1429867a77bf4e.tar.bz2
otp-a62abc91b5f95fc9137d42867e1429867a77bf4e.zip
Change binary_to_term/2 to be auto-imported
While binary_to_term/2 was added in R13B04, it wasn't auto-imported. This conformed to longstanding policy of not changing auto-imports between major versions. This patch contains changes to auto-import binary_to_term/2 to coincide with the release of R14.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/erl_internal.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/erl_internal.erl b/lib/stdlib/src/erl_internal.erl
index 2471c545dd..f78d8dc609 100644
--- a/lib/stdlib/src/erl_internal.erl
+++ b/lib/stdlib/src/erl_internal.erl
@@ -238,6 +238,7 @@ bif(binary_to_existing_atom, 2) -> true;
bif(binary_to_list, 1) -> true;
bif(binary_to_list, 3) -> true;
bif(binary_to_term, 1) -> true;
+bif(binary_to_term, 2) -> true;
bif(bitsize, 1) -> true;
bif(bit_size, 1) -> true;
bif(bitstring_to_list, 1) -> true;