diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2006-03-21 03:40:38 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2006-03-21 03:40:38 +0000 |
commit | 0c6d3810a1ef7bfead832777159757097319ad76 (patch) | |
tree | 24c47f98731c42ea1df33a464c0fbca7ba760489 /tests/84-param-tags-OK.asn1.-EF | |
parent | b9667769cc26bc2df0937e4eae1d1bf66cfe8753 (diff) |
refactored parameterization support
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1102 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests/84-param-tags-OK.asn1.-EF')
-rw-r--r-- | tests/84-param-tags-OK.asn1.-EF | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/84-param-tags-OK.asn1.-EF b/tests/84-param-tags-OK.asn1.-EF index 0a902fb0..b5889ae1 100644 --- a/tests/84-param-tags-OK.asn1.-EF +++ b/tests/84-param-tags-OK.asn1.-EF @@ -8,12 +8,8 @@ TestType{Parameter} ::= SEQUENCE { } TestChoice ::= CHOICE { - type1 SEQUENCE { - common INTEGER (1..10) DEFAULT 0 - }, - type2 [0] IMPLICIT SEQUENCE { - common BOOLEAN DEFAULT 0 - } + type1 TestType{ INTEGER (1..10)}, + type2 [0] IMPLICIT TestType{ BOOLEAN} } END @@ -28,12 +24,8 @@ AutoType{Parameter} ::= SEQUENCE { } AutoChoice ::= CHOICE { - type1 [0] IMPLICIT SEQUENCE { - common [0] IMPLICIT INTEGER ((0..1))((0)) - }, - type2 [1] IMPLICIT SEQUENCE { - common [0] IMPLICIT BOOLEAN (0) - } + type1 [0] IMPLICIT AutoType{ INTEGER (0..1)}, + type2 [1] IMPLICIT AutoType{ BOOLEAN} } END |