diff options
author | Björn Gustavsson <[email protected]> | 2010-03-16 07:34:49 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-03-16 08:35:39 +0100 |
commit | 1e2ecf8c492b6d499880b8676e3c1fe0c5793103 (patch) | |
tree | 81e5824a915e64eb96f0be8c332e814874f89dcb /lib/stdlib/src/erl_expand_records.erl | |
parent | 9749cb4aecafaeb8080031630e42a4384a4fb321 (diff) | |
download | otp-1e2ecf8c492b6d499880b8676e3c1fe0c5793103.tar.gz otp-1e2ecf8c492b6d499880b8676e3c1fe0c5793103.tar.bz2 otp-1e2ecf8c492b6d499880b8676e3c1fe0c5793103.zip |
Remove stray code supporting 'cond'
'cond' is an experimental feature that was never completed.
Diffstat (limited to 'lib/stdlib/src/erl_expand_records.erl')
-rw-r--r-- | lib/stdlib/src/erl_expand_records.erl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/stdlib/src/erl_expand_records.erl b/lib/stdlib/src/erl_expand_records.erl index 9c55fa96d1..a38b7639d8 100644 --- a/lib/stdlib/src/erl_expand_records.erl +++ b/lib/stdlib/src/erl_expand_records.erl @@ -345,9 +345,6 @@ expr({'fun',Line,{clauses,Cs0}}, St0) -> {{'fun',Line,{clauses,Cs}},St1}; expr({call,Line,{atom,_,is_record},[A,{atom,_,Name}]}, St) -> record_test(Line, A, Name, St); -expr({'cond',Line,Cs0}, St0) -> - {Cs,St1} = clauses(Cs0, St0), - {{'cond',Line,Cs},St1}; expr({call,Line,{remote,_,{atom,_,erlang},{atom,_,is_record}}, [A,{atom,_,Name}]}, St) -> record_test(Line, A, Name, St); |