Coccinelle: Add a new mode named 'chain'
authorNicolas Palix <npalix.work@gmail.com>
Fri, 8 Oct 2010 19:27:40 +0000 (21:27 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 13 Oct 2010 12:26:06 +0000 (14:26 +0200)
commit2c1160c87465ee2d61eee14596e5376d2ff74f31
tree4cd5fb75c6aa6a75937681bac4c7f2f07dfdb6b4
parente90f6590219a0082618b9b6828458b1c74f37cc0
Coccinelle: Add a new mode named 'chain'

spatch now returns -1 when a virtual rule (given with
-D on the command line) is not defined in the semantic patch.

Using this spatch feature, coccicheck is now
tries several modes by default, in the order:
patch, report, context, org

Signed-off-by: Nicolas Palix <npalix.work@gmail.com>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccicheck