~ubuntu-branches/ubuntu/saucy/device-tree-compiler/saucy

« back to all changes in this revision

Viewing changes to tests/comments.dts

  • Committer: Steve Langasek
  • Date: 2011-02-28 17:57:27 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: steve.langasek@linaro.org-20110228175727-le7jcacnya18tqhz
mergeĀ upstreamĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* regexps for lexing comments are.. tricky.  Check if we've actually
 
2
 * got it right */
 
3
/dts-v1/;
 
4
 
 
5
/ {
 
6
        // line comment
 
7
        prop1;
 
8
        /* comment */
 
9
        prop2;
 
10
        /* multiline
 
11
 
 
12
        notaprop1;
 
13
 
 
14
           comment */
 
15
        prop3;
 
16
        /**/
 
17
        prop4;
 
18
        /***/
 
19
        prop5;
 
20
        /****/
 
21
        prop6;
 
22
        /* another
 
23
         * multiline
 
24
         * comment */
 
25
        prop7;
 
26
        /* yet
 
27
         * another
 
28
         * multline
 
29
         * comment
 
30
         */
 
31
        prop8;
 
32
        /** try this */
 
33
        prop9;
 
34
        /* and this **/
 
35
        prop10;
 
36
        child /* finally */ {
 
37
        };
 
38
};
 
39
/* final comment */