diff options
author | Dan Gudmundsson <[email protected]> | 2017-06-30 11:58:01 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-15 17:07:48 +0200 |
commit | 1557d8eca4fa0daaaad470eb68edc86ca7997aab (patch) | |
tree | df740b3cbfb0f04fbb4d3e6892e47322855e6f66 /lib/asn1/src/asn1ct_gen.erl | |
parent | a443d41a1b7951137021e35ce480fbdd896f5cbc (diff) | |
download | otp-1557d8eca4fa0daaaad470eb68edc86ca7997aab.tar.gz otp-1557d8eca4fa0daaaad470eb68edc86ca7997aab.tar.bz2 otp-1557d8eca4fa0daaaad470eb68edc86ca7997aab.zip |
asn1: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r-- | lib/asn1/src/asn1ct_gen.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl index 806f8420ec..84c7f39d55 100644 --- a/lib/asn1/src/asn1ct_gen.erl +++ b/lib/asn1/src/asn1ct_gen.erl @@ -796,7 +796,7 @@ result_line(NoOkWrapper, Items) -> result_line_1([SingleItem]) -> SingleItem; result_line_1(Items) -> - ["{",string:join(Items, ","),"}"]. + ["{",lists:join(",",Items),"}"]. try_catch() -> [" catch",nl, @@ -943,7 +943,7 @@ open_hrl(OutFile,Module) -> hrl_protector(OutFile) -> BaseName = filename:basename(OutFile), - P = "_" ++ string:to_upper(BaseName) ++ "_HRL_", + P = "_" ++ string:uppercase(BaseName) ++ "_HRL_", [if $A =< C, C =< $Z -> C; $a =< C, C =< $a -> C; |