diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-04-03 15:36:50 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-04-03 15:36:50 +0200 |
commit | e26dbc750fdd207c852bf9006668c5771f465dcf (patch) | |
tree | 4dd86a8fedc955cd09f2e021827efdd73ecf694c /lib/stdlib/examples/erl_id_trans.erl | |
parent | 7b11f5a2608ea2a539454fe8f14e4d24d3a0170f (diff) | |
download | otp-e26dbc750fdd207c852bf9006668c5771f465dcf.tar.gz otp-e26dbc750fdd207c852bf9006668c5771f465dcf.tar.bz2 otp-e26dbc750fdd207c852bf9006668c5771f465dcf.zip |
stdlib: Fix erl_id_trans example
Diffstat (limited to 'lib/stdlib/examples/erl_id_trans.erl')
-rw-r--r-- | lib/stdlib/examples/erl_id_trans.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/examples/erl_id_trans.erl b/lib/stdlib/examples/erl_id_trans.erl index 5fcb74310e..e71e26e51a 100644 --- a/lib/stdlib/examples/erl_id_trans.erl +++ b/lib/stdlib/examples/erl_id_trans.erl @@ -148,7 +148,7 @@ pattern({map,Line,Ps0}) -> Ps1 = pattern_list(Ps0), {map,Line,Ps1}; pattern({map_field_exact,Line,K,V}) -> - Ke = pattern(K), + Ke = expr(K), Ve = pattern(V), {map_field_exact,Line,Ke,Ve}; %%pattern({struct,Line,Tag,Ps0}) -> |