diff options
author | Björn Gustavsson <[email protected]> | 2014-12-02 17:11:22 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-12 12:22:56 +0100 |
commit | ff8b523c9ad18d52c9ff53882bba0056f2ceb679 (patch) | |
tree | 3b4abbb7f802de1b9be97ad08ead8c2503da59ff /lib/asn1/src/asn1ct.erl | |
parent | 657fe1cdf9f0e630a3a66ddcad24f143df6e1880 (diff) | |
download | otp-ff8b523c9ad18d52c9ff53882bba0056f2ceb679.tar.gz otp-ff8b523c9ad18d52c9ff53882bba0056f2ceb679.tar.bz2 otp-ff8b523c9ad18d52c9ff53882bba0056f2ceb679.zip |
asn1ct_parser2: Simplify parse_Type/1
The parse_Type/1 calls various type parse functions. Most of those
functions return a #type record, but not all of them. If a #type{}
record is not returned, parse_Type/1 will wrap the return value in a
We can simplify the code in parse_Type/1 if we make sure that the
type parsing functions called by parse_Type/1 always return
a #type{} record.
Diffstat (limited to 'lib/asn1/src/asn1ct.erl')
0 files changed, 0 insertions, 0 deletions