symbian-qemu-0.9.1-12/dtc-trunk/tests/comments.dts
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     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 */