aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct.erl
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2012-03-23 12:21:03 +0100
committerKenneth Lundin <[email protected]>2012-03-27 09:13:26 +0200
commita24997ac5526cb7cbb5f3248aaa4abd403bf406a (patch)
treeffdd3c5ce82996ae8d807cd308c6fe57e38b9cf2 /lib/asn1/src/asn1ct.erl
parent1bc4f4c35876a8dcccad66129e68f602751f6e36 (diff)
downloadotp-a24997ac5526cb7cbb5f3248aaa4abd403bf406a.tar.gz
otp-a24997ac5526cb7cbb5f3248aaa4abd403bf406a.tar.bz2
otp-a24997ac5526cb7cbb5f3248aaa4abd403bf406a.zip
Correct handling of INTEGER (1..4 | 8 | 10 | 20)
Diffstat (limited to 'lib/asn1/src/asn1ct.erl')
-rw-r--r--lib/asn1/src/asn1ct.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl
index 2d17f73a2c..99755a95a6 100644
--- a/lib/asn1/src/asn1ct.erl
+++ b/lib/asn1/src/asn1ct.erl
@@ -816,7 +816,9 @@ check({true,M},File,OutFile,Includes,EncodingRule,DbFile,Options,InputMods) ->
asn1_db:dbsave(DbFile,M#module.name),
verbose("--~p--~n",[{generated,DbFile}],Options),
{true,{M,NewM,GenTypeOrVal}}
- end
+ end;
+ ErrorList = {error,_} ->
+ {false,ErrorList}
end;
check({false,M},_,_,_,_,_,_,_) ->
{false,M}.