diff options
author | Raimo Niskanen <[email protected]> | 2017-01-18 11:42:27 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2017-01-18 11:42:27 +0100 |
commit | 13345520e4e716856356367f1176530d11c92eda (patch) | |
tree | 486ff198b9bfd3c734e6b26e62146a08a378eb60 /lib/snmp/src/compile/snmpc_lib.erl | |
parent | 57b36c454c2deed62bd62ba0eee849605774d372 (diff) | |
parent | 7f52af8875a1ab1ba96c6cb2403211bfc876639c (diff) | |
download | otp-13345520e4e716856356367f1176530d11c92eda.tar.gz otp-13345520e4e716856356367f1176530d11c92eda.tar.bz2 otp-13345520e4e716856356367f1176530d11c92eda.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/snmp/src/compile/snmpc_lib.erl')
-rw-r--r-- | lib/snmp/src/compile/snmpc_lib.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp/src/compile/snmpc_lib.erl b/lib/snmp/src/compile/snmpc_lib.erl index 51690b6e7e..33ddd78308 100644 --- a/lib/snmp/src/compile/snmpc_lib.erl +++ b/lib/snmp/src/compile/snmpc_lib.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1997-2016. All Rights Reserved. +%% Copyright Ericsson AB 1997-2017. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -99,7 +99,7 @@ make_ASN1type({{type_with_size,Type,{range,Lo,Hi}},Line}) -> print_error("Undefined type '~w'",[Type],Line), guess_string_type() end; -make_ASN1type({{integer_with_enum,Type,Enums},Line}) -> +make_ASN1type({{type_with_enum,Type,Enums},Line}) -> case lookup_vartype(Type) of {value,ASN1type} -> ASN1type#asn1_type{assocList = [{enums, Enums}]}; false -> |