File: ccomment.h

package info (click to toggle)
c2man 2.41-11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 800 kB
  • ctags: 863
  • sloc: ansic: 6,559; sh: 5,236; yacc: 839; lex: 621; makefile: 229; perl: 81
file content (41 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (6)
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
40
41
/*
** function starting with a C comment
*/
void ccomment(
	/* single line before */
	int single_before,

	/*
	 * multiple
	 * lines before
	 */
	int multiple_before,

	int end_of_line,	/* end of the line */

	int multiple_eol,	/*
				 * multiple lines
				 * starting at
				 * the EOL
				 */

	int single_eol_before_comma	/* end of line, but before comma */,

	int multiple_eol_before_comma	/*
					 * multiple lines after, at the EOL and
					 * before comma.
					 * can't imagine anyone coding this.
					 */,

	int single_after
	/* single line after */
	,

	int multiple_after
	/*
	 * multiple lines
	 * after.
	 * can't imagine anyone coding like this.
	 */
);