diff options
author | Björn Gustavsson <[email protected]> | 2012-12-12 11:13:24 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-12-19 11:50:40 +0100 |
commit | 3d1279f3cebfdd2483c3afea9f225613fe45cd00 (patch) | |
tree | 56f81b774ddbe293116337a1b20e1d146e434ebe /lib/asn1/src/asn1ct_gen_per.erl | |
parent | 062d7bf2ea0760b5e8865aa689ae87cedea7574a (diff) | |
download | otp-3d1279f3cebfdd2483c3afea9f225613fe45cd00.tar.gz otp-3d1279f3cebfdd2483c3afea9f225613fe45cd00.tar.bz2 otp-3d1279f3cebfdd2483c3afea9f225613fe45cd00.zip |
Remove support for the {Typename,Value} notation in encoding
Support for the notation was removed in 6ef8cbdaaaa1c30a7dc462063.
Diffstat (limited to 'lib/asn1/src/asn1ct_gen_per.erl')
-rw-r--r-- | lib/asn1/src/asn1ct_gen_per.erl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/asn1/src/asn1ct_gen_per.erl b/lib/asn1/src/asn1ct_gen_per.erl index eb4cfdccc6..8dd2150aa8 100644 --- a/lib/asn1/src/asn1ct_gen_per.erl +++ b/lib/asn1/src/asn1ct_gen_per.erl @@ -79,18 +79,6 @@ gen_encode(Erules,Typename,Type) when is_record(Type,type) -> end, case asn1ct_gen:type(InnerType) of {constructed,bif} -> - case InnerType of - 'SET' -> - true; - 'SEQUENCE' -> - true; - _ -> - emit({nl,"'enc_",asn1ct_gen:list2name(Typename), - "'({'",asn1ct_gen:list2name(Typename), - "',Val}",ObjFun,") ->",nl}), - emit({"'enc_",asn1ct_gen:list2name(Typename), - "'(Val",ObjFun,");",nl,nl}) - end, emit({"'enc_",asn1ct_gen:list2name(Typename),"'(Val",ObjFun, ") ->",nl}), asn1ct_gen:gen_encode_constructed(Erules,Typename,InnerType,Type); |