aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_check.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-08-18 15:59:21 +0200
committerBjörn Gustavsson <[email protected]>2014-09-01 14:37:14 +0200
commit5095efaac2920677510971f08908e97f379c7c3f (patch)
tree25adf22629051fca7a4ac20328ac88f97eeec73b /lib/asn1/src/asn1ct_check.erl
parent155156563429fbb8535ca35491d8057d78aa272c (diff)
downloadotp-5095efaac2920677510971f08908e97f379c7c3f.tar.gz
otp-5095efaac2920677510971f08908e97f379c7c3f.tar.bz2
otp-5095efaac2920677510971f08908e97f379c7c3f.zip
Add the module name to the #classdef{} record
If we want construct an #'Externaltypereference'{} from a #classdef{} record, we will need the module name.
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r--lib/asn1/src/asn1ct_check.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index c2673e3eba..e457e79c81 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -7008,7 +7008,7 @@ include_default_class1(_,[]) ->
include_default_class1(Module,[{Name,TS}|Rest]) ->
case asn1_db:dbget(Module,Name) of
undefined ->
- C = #classdef{checked=true,name=Name,
+ C = #classdef{checked=true,module=Module,name=Name,
typespec=TS},
asn1_db:dbput(Module,Name,C);
_ -> ok