History

coccinelle/null: solve parse error

This patch solves the parse-error by adding @@ . This is necessary since Coccinelle version 1.0.0-rc20. Also, the comment is added to use a recent version of Coccinelle.

Himangi Saraogi committed 12 years ago

Commit b5889ab1 parent aa8dbee1 file · +2 −1Browse files

Unified · Split

scripts/coccinelle/null/badzero.cocci+2−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
10// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.10// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.
11// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.11// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
12// URL: http://coccinelle.lip6.fr/12// URL: http://coccinelle.lip6.fr/
13// Comments:13// Comments: Requires Coccinelle version 1.0.0-rc20 or later
14// Options:14// Options:
15 15
16virtual patch16virtual patch
@@ -19,6 +19,7 @@ virtual org · 2 unmodified lines
19virtual report19virtual report
20 20
21@initialize:ocaml@21@initialize:ocaml@
22@@
22let negtable = Hashtbl.create 10123let negtable = Hashtbl.create 101
23 24
24@depends on patch@25@depends on patch@

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t