aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2017-07-04 15:03:03 +0200
committerKenneth Lundin <[email protected]>2017-07-04 15:03:03 +0200
commite1327157189f09aa118342d0686a32fb927dca96 (patch)
tree77ef969e3c767a19144a3b63d8575d823ab4c14f /lib/asn1/test/asn1_SUITE_data
parentf07821b47f8dcf69be22277e316167491a2ef295 (diff)
downloadotp-e1327157189f09aa118342d0686a32fb927dca96.tar.gz
otp-e1327157189f09aa118342d0686a32fb927dca96.tar.bz2
otp-e1327157189f09aa118342d0686a32fb927dca96.zip
Corrected behavior of option {n2n, EnumTypeName} when
EnumTypeName contains a hypen like fore example Cause-Misc. This caused syntax errors when compiling the generated Erlang code.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/EnumN2N.asn122
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/EnumN2N.asn1 b/lib/asn1/test/asn1_SUITE_data/EnumN2N.asn1
index a724f2f3f5..a610eb6230 100644
--- a/lib/asn1/test/asn1_SUITE_data/EnumN2N.asn1
+++ b/lib/asn1/test/asn1_SUITE_data/EnumN2N.asn1
@@ -1,6 +1,28 @@
EnumN2N DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
+Cause-Misc ::= ENUMERATED {
+ control-processing-overload,
+ not-enough-user-plane-processing-resources,
+ hardware-failure,
+ om-intervention,
+ unspecified,
+ unknown-PLMN,
+...
+}
+
+CauseProtocol ::= ENUMERATED {
+ transfer-syntax-error,
+ abstract-syntax-error-reject,
+ abstract-syntax-error-ignore-and-notify,
+ message-not-compatible-with-receiver-state,
+ semantic-error,
+ abstract-syntax-error-falsely-constructed-message,
+ unspecified,
+ ...
+}
+
+
NoExt ::= ENUMERATED {
blue(0),
red(1),