File: regexp-killer.c

package info (click to toggle)
libstring-license-perl 0.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,892 kB
  • sloc: perl: 1,519; cpp: 360; ansic: 210; python: 27; ruby: 21; xml: 16; sh: 8; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * (c) 2013 Devscript Developers
 *
 * Initially seen in:
 *   freeswitch/libs/ldns/dnssec.c
 * the line starting with equals gets seen as potential comment fodder
 * but when the double-equals is put in the [] it breaks the regexp that is built
 */
if (foo
	    == bar
    ) {
		return baz;
	}

/* there are some other files where:

 :: people have made their comments start like this
 :: which bumps into the same issue.

*/