aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/examples/erl_id_trans.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-11-19 18:31:03 +0100
committerLoïc Hoguin <[email protected]>2013-01-16 12:46:47 +0100
commit0dc3a29744bed0b7f483ad72e19773dc0982ea50 (patch)
treeef36bb22deef8c43f0d876276883acf0e0d02014 /lib/stdlib/examples/erl_id_trans.erl
parentfa6771380931c7ded0ad4d36e6cd2554bb932dfc (diff)
downloadotp-0dc3a29744bed0b7f483ad72e19773dc0982ea50.tar.gz
otp-0dc3a29744bed0b7f483ad72e19773dc0982ea50.tar.bz2
otp-0dc3a29744bed0b7f483ad72e19773dc0982ea50.zip
Remove support for the query keyword and query expressions
Diffstat (limited to 'lib/stdlib/examples/erl_id_trans.erl')
-rw-r--r--lib/stdlib/examples/erl_id_trans.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/stdlib/examples/erl_id_trans.erl b/lib/stdlib/examples/erl_id_trans.erl
index 34c6ecc394..51def8c8e1 100644
--- a/lib/stdlib/examples/erl_id_trans.erl
+++ b/lib/stdlib/examples/erl_id_trans.erl
@@ -153,7 +153,6 @@ pattern({record,Line,Name,Pfs0}) ->
pattern({record_index,Line,Name,Field0}) ->
Field1 = pattern(Field0),
{record_index,Line,Name,Field1};
-%% record_field occurs in query expressions
pattern({record_field,Line,Rec0,Name,Field0}) ->
Rec1 = expr(Rec0),
Field1 = expr(Field0),
@@ -431,10 +430,6 @@ expr({'catch',Line,E0}) ->
%% No new variables added.
E1 = expr(E0),
{'catch',Line,E1};
-expr({'query', Line, E0}) ->
- %% lc expression
- E = expr(E0),
- {'query', Line, E};
expr({match,Line,P0,E0}) ->
E1 = expr(E0),
P1 = pattern(P0),