openbsd-ports/devel/coccinelle/patches/patch-demos_regexp_cocci
sthen a0ae5de39d update to coccinelle 1.0 rc7
Note: !=~ has changed to !~
2011-08-30 10:20:11 +00:00

16 lines
340 B
Plaintext

$OpenBSD: patch-demos_regexp_cocci,v 1.1 2011/08/30 10:20:11 sthen Exp $
syntax changed in rc7
--- demos/regexp.cocci.orig Sat Aug 27 21:59:25 2011
+++ demos/regexp.cocci Sat Aug 27 21:59:30 2011
@@ -30,7 +30,7 @@ print "Contains foo: %s" % x
@nocontain@
type t;
-identifier foo !=~ "foo";
+identifier foo !~ "foo";
@@
t foo () {