aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-25 15:19:13 +0100
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:15 +0200
commitab7f7f53dc75cdf6ff05abd5663b1c2add39963c (patch)
tree9d629245cb7b8ad33bc31947e7e7418c568454ad /lib/asn1/src/asn1ct_gen.erl
parent509ccd85ef448f5843716d4b51a8b07f875cdfda (diff)
downloadotp-ab7f7f53dc75cdf6ff05abd5663b1c2add39963c.tar.gz
otp-ab7f7f53dc75cdf6ff05abd5663b1c2add39963c.tar.bz2
otp-ab7f7f53dc75cdf6ff05abd5663b1c2add39963c.zip
Eliminate general use of #typereference{}
The record #typereference{} is only used internally within the asn1ct_parser2 module (the parser translates it to an #'Externaltypereference{} record).
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r--lib/asn1/src/asn1ct_gen.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl
index c598dafc47..956497a3d5 100644
--- a/lib/asn1/src/asn1ct_gen.erl
+++ b/lib/asn1/src/asn1ct_gen.erl
@@ -1671,7 +1671,6 @@ unify_if_string(PrimType) ->
get_inner(A) when is_atom(A) -> A;
get_inner(Ext) when is_record(Ext,'Externaltypereference') -> Ext;
-get_inner(Tref) when is_record(Tref,typereference) -> Tref;
get_inner({fixedtypevaluefield,_,Type}) ->
if
is_record(Type,type) ->
@@ -1704,8 +1703,6 @@ get_inner(T) when is_tuple(T) ->
type(X) when is_record(X,'Externaltypereference') ->
X;
-type(X) when is_record(X,typereference) ->
- X;
type('ASN1_OPEN_TYPE') ->
'ASN1_OPEN_TYPE';
type({fixedtypevaluefield,_Name,Type}) when is_record(Type,type) ->