aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2014-02-24 16:15:39 +0100
committerHenrik Nord <[email protected]>2014-02-24 16:15:39 +0100
commite4b6877c43e7fdddc947e61bfcfb7f93aab35a7a (patch)
treecb705202e515723fa75f3dd20d355330f106e8c2 /lib/compiler
parent6995e4764d2722ca315a68facd8777f3c8970db7 (diff)
parent6ce0f745f0048aa48222ba6bae220c3cb5a37959 (diff)
downloadotp-e4b6877c43e7fdddc947e61bfcfb7f93aab35a7a.tar.gz
otp-e4b6877c43e7fdddc947e61bfcfb7f93aab35a7a.tar.bz2
otp-e4b6877c43e7fdddc947e61bfcfb7f93aab35a7a.zip
Merge branch 'tuncer/update-deprecation-message/OTP-11751'
* tuncer/update-deprecation-message/OTP-11751: compiler: update 'asm' deprecation message
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/src/compile.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index e79fe41f9b..b88f9792a5 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -430,10 +430,9 @@ pass(from_core) ->
pass(from_asm) ->
{".S",[?pass(beam_consult_asm)|asm_passes()]};
pass(asm) ->
- %% TODO: remove 'asm' in R18
- io:format("compile:file/2 option 'asm' has been deprecated and will be "
- "removed in R18.~n"
- "Use 'from_asm' instead.~n"),
+ %% TODO: remove 'asm' in 18.0
+ io:format("compile:file/2 option 'asm' has been deprecated and will be~n"
+ "removed in the 18.0 release. Use 'from_asm' instead.~n"),
pass(from_asm);
pass(from_beam) ->
{".beam",[?pass(read_beam_file)|binary_passes()]};