File: comments.dts

package info (click to toggle)
device-tree-compiler 1.4.0%2Bdfsg-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,444 kB
  • sloc: ansic: 8,590; sh: 694; asm: 619; lex: 459; yacc: 429; makefile: 226; perl: 74
file content (39 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* regexps for lexing comments are.. tricky.  Check if we've actually
 * got it right */
/dts-v1/;

/ {
	// line comment
	prop1;
	/* comment */
	prop2;
	/* multiline

	notaprop1;

	   comment */
	prop3;
	/**/
	prop4;
	/***/
	prop5;
	/****/
	prop6;
	/* another
	 * multiline
	 * comment */
	prop7;
	/* yet
	 * another
	 * multline
	 * comment
	 */
	prop8;
	/** try this */
	prop9;
	/* and this **/
	prop10;
	child /* finally */ {
	};
};
/* final comment */