diff options
author | Björn Gustavsson <[email protected]> | 2013-02-19 09:31:49 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-05-31 14:52:13 +0200 |
commit | c42ce67e3fa3b2a43964761dc7d1d3177e259f72 (patch) | |
tree | 5ed4953c69668211506de28aa9698ef2a5581223 /lib/asn1/src/asn1ct_imm.erl | |
parent | f78b1e7c4d5f8bd03b4a5194bedf7b57ebe0f72d (diff) | |
download | otp-c42ce67e3fa3b2a43964761dc7d1d3177e259f72.tar.gz otp-c42ce67e3fa3b2a43964761dc7d1d3177e259f72.tar.bz2 otp-c42ce67e3fa3b2a43964761dc7d1d3177e259f72.zip |
asn1ct_constructed_per: Refactor gen_dec_choice2()
gen_dec_choice2() is unnecessarily complicated. Code is duplicated
merely to avoid outputting a ";" separator after the last item,
and there is code to skip extensionmarks that are never actually
present.
While at it, eliminate the the wrap_gen_dec_line() function which is
not needed. It puts a {component_type,C} key in the process
dictionary, but that is actually never used. Besides that, it only
shuffles the argument.
Diffstat (limited to 'lib/asn1/src/asn1ct_imm.erl')
0 files changed, 0 insertions, 0 deletions