File: test.in

package info (click to toggle)
filepp 1.7.1-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,120 kB
  • ctags: 240
  • sloc: perl: 2,597; makefile: 489; sh: 174; ansic: 15
file content (66 lines) | stat: -rw-r--r-- 1,124 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
C/C++ comments:

/* commented line */
normal line
start of line /* comment */ end of line
/* multi
   line 
   comment 
*/ after multi-line comment
// c++ comment
before c++ comment // c++ comment
/* c-comment
// with c++ comment
   in it */

//*
abc
/*
Should not see this
*/
xyz

#### /* */ #### /* */ ####

/* should not see next line
#define foo bar
*/ foo should not be bar

// test of lines with "" in them
this is a // test
this is "another // test" // comment
this is "an\"other" // test
this "is" "another // test" // comment
this "is" "another" // test


valid c++ comment // don't see me
c++ comment "in a // string"

this is a " /* " test
/* test */
"*/"
multi-line start /* test
of multi line 
and more lines
	   */ multi-line end


Hash comments:

Normal line
# commented line
partly commented line, comment starts now: # this is a comment
# lots # of #comments
not a comment
# test of lines with "" in them
this is a # test
this is "another # test" # comment
this is "ano\"ther" # test
this "is" "another # test" # comment
this "is" "another" # test

This is a # comment
I like "lots of # comments"

/* oops!