refactored parameterization support
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1102 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/84-param-tags-OK.asn1.-EF b/tests/84-param-tags-OK.asn1.-EF
index 0a902fb..b5889ae 100644
--- a/tests/84-param-tags-OK.asn1.-EF
+++ b/tests/84-param-tags-OK.asn1.-EF
@@ -8,12 +8,8 @@
}
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 @@
}
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