diff options
author | Björn Gustavsson <[email protected]> | 2013-04-09 07:23:40 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-05-31 14:52:23 +0200 |
commit | 4001ac2a291e26d9fa912dbeefbe92278aceb345 (patch) | |
tree | 55037cf1b23c5ee251fbd32a3051f7e0df1c4217 /lib/asn1/test/asn1_SUITE_data/TConstr.asn1 | |
parent | 83fe4f33369c6c33f6241d279611dc2b91594298 (diff) | |
download | otp-4001ac2a291e26d9fa912dbeefbe92278aceb345.tar.gz otp-4001ac2a291e26d9fa912dbeefbe92278aceb345.tar.bz2 otp-4001ac2a291e26d9fa912dbeefbe92278aceb345.zip |
PER: Generate code for deep table constraints at compile-time
For the PER backends, generate code for accessing deep table
constraints at compile-time in the same way as is done for BER.
While at it, remove the complicated indentation code.
Also modernize the test suite and add a test for a deeper nested
constraint.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/TConstr.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/TConstr.asn1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/TConstr.asn1 b/lib/asn1/test/asn1_SUITE_data/TConstr.asn1 index 63f5dbde77..e2e0a11dc4 100644 --- a/lib/asn1/test/asn1_SUITE_data/TConstr.asn1 +++ b/lib/asn1/test/asn1_SUITE_data/TConstr.asn1 @@ -51,6 +51,12 @@ Seq2 ::= SEQUENCE { } } +Deeper ::= SEQUENCE { + a SEQUENCE {aa INTEGER, + s SEQUENCE { ab MYCLASS.&id ({ObjectSet}), + ac INTEGER }}, + b SEQUENCE {ba INTEGER, bb MYCLASS.&Type ({ObjectSet}{@a.s.ab})} +} -- following from Peter's definitions |