aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-10-09 10:13:59 +0200
committerBjörn Gustavsson <[email protected]>2011-11-07 14:00:27 +0100
commitb2cd72d36c5dbd559659213ca6d0d1fab3df8aa1 (patch)
tree8378e414f203a3058f21781308a29bae991fb9f8 /lib
parent7f434109e62fb7b36a350240729aeed2477fd594 (diff)
downloadotp-b2cd72d36c5dbd559659213ca6d0d1fab3df8aa1.tar.gz
otp-b2cd72d36c5dbd559659213ca6d0d1fab3df8aa1.tar.bz2
otp-b2cd72d36c5dbd559659213ca6d0d1fab3df8aa1.zip
sys_pre_expand: Remove incorrect comment
sys_pre_expand does not keep track of used or new variables (and have not done since about the time Core Erlang was introduced).
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/sys_pre_expand.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compiler/src/sys_pre_expand.erl b/lib/compiler/src/sys_pre_expand.erl
index 4fabcd947b..63dea024b4 100644
--- a/lib/compiler/src/sys_pre_expand.erl
+++ b/lib/compiler/src/sys_pre_expand.erl
@@ -535,7 +535,6 @@ lc_tq(_Line, [], St0) ->
%% Transform an "explicit" fun {'fun', Line, {clauses, Cs}} into an
%% extended form {'fun', Line, {clauses, Cs}, Info}, unless it is the
%% name of a BIF (erl_lint has checked that it is not an import).
-%% Process the body sequence directly to get the new and used variables.
%% "Implicit" funs {'fun', Line, {function, F, A}} are not changed.
fun_tq(Lf, {function,F,A}=Function, St0) ->