aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/ms_transform.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-08-20 08:36:19 +0200
committerHans Bolinder <[email protected]>2019-08-20 08:36:19 +0200
commite2c6e9446cb3ce48f87909dd77ae68892e9126d5 (patch)
tree8d5f22eee8627ab9ea1e4654d51ca2f6e7fc7094 /lib/stdlib/src/ms_transform.erl
parent2f30bd2f28f87b80dfa1329f33d4d590a027f6ec (diff)
parenta69d7ba56ad1f0983c6aea7538742d2a1c4e1d7a (diff)
downloadotp-e2c6e9446cb3ce48f87909dd77ae68892e9126d5.tar.gz
otp-e2c6e9446cb3ce48f87909dd77ae68892e9126d5.tar.bz2
otp-e2c6e9446cb3ce48f87909dd77ae68892e9126d5.zip
Merge branch 'legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322' into maint
* legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322: fun2ms: accept ++ in function head when called from shell
Diffstat (limited to 'lib/stdlib/src/ms_transform.erl')
-rw-r--r--lib/stdlib/src/ms_transform.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/ms_transform.erl b/lib/stdlib/src/ms_transform.erl
index 97ec785c62..74efe5c513 100644
--- a/lib/stdlib/src/ms_transform.erl
+++ b/lib/stdlib/src/ms_transform.erl
@@ -1100,6 +1100,8 @@ normalise({bin,_,Fs}) ->
B;
normalise({cons,_,Head,Tail}) ->
[normalise(Head)|normalise(Tail)];
+normalise({op,_,'++',A,B}) ->
+ normalise(A) ++ normalise(B);
normalise({tuple,_,Args}) ->
list_to_tuple(normalise_list(Args));
normalise({map,_,Pairs0}) ->