~ubuntu-branches/ubuntu/dapper/asn1c/dapper

« back to all changes in this revision

Viewing changes to tests/38-comments-OK.asn1

  • Committer: Bazaar Package Importer
  • Author(s): W. Borgert
  • Date: 2005-05-28 12:36:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050528123642-3h6kstws5u0xcovl
Tags: upstream-0.9.14
ImportĀ upstreamĀ versionĀ 0.9.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
-- .38
 
7
 
 
8
ModuleNestedCTypeComments
 
9
        { iso org(3) dod(6) internet(1) private(4) enterprise(1)
 
10
                spelio(9363) software(1) asn1c(5) test(1) 38 }
 
11
        DEFINITIONS ::=
 
12
BEGIN
 
13
 
 
14
        T ::= CHOICE {
 
15
                t-a  INTEGER,
 
16
                t-b  OCTET STRING
 
17
/*              t-c  [1] Choice1, t-d  Choice2 */
 
18
        }
 
19
 
 
20
        -- this is a comment too -- This-Is-Not-A-Comment
 
21
        ::= INTEGER
 
22
 
 
23
/*
 
24
        ISO/IEC 8824-1 #11.6.4
 
25
 
 
26
        blah blah blah
 
27
        /* nested comment */
 
28
        -- this is an insignificant coment
 
29
        -- this is a comment too -- and this is a comment
 
30
 
 
31
 */
 
32
 
 
33
END