52b0eda3ec1757d873709d1124b9e3ef469e23d9
[com/asn1c.git] / tests / tests-asn1c-compiler / 80-chardefs-OK.asn1
1
2 -- OK: Everything is fine
3
4 -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
5 -- .spelio.software.asn1c.test (9363.1.5.1)
6 -- .80
7
8 ModuleCharacterDefinitions
9         { iso org(3) dod(6) internet(1) private(4) enterprise(1)
10                 spelio(9363) software(1) asn1c(5) test(1) 80 }
11         DEFINITIONS ::=
12 BEGIN
13         -- Elements taken from ASN1-CHARACTER-MODULE (X.680:07/2002)
14         -- { joint-iso-itu-t asn1(1) specification(0) modules(0) iso10646(0) }
15         nul IA5String ::= {0, 0}
16         null BMPString ::= {0, 0, 0, 0}
17         space BMPString ::= {0, 0, 0, 32}
18         tilde BMPString ::= {0, 0, 0, 126}
19
20         BasicLatin ::= BMPString(FROM (space..tilde))
21         BasicGreek ::= BMPString(FROM ({0, 0, 3, 112}..{0, 0, 3, 207}))
22
23         NotSpace ::= BMPString (FROM(ALL EXCEPT space))
24
25 END