coccinelle/null: solve parse error
PATCH 1/1 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.
Signed-off-by Himangi Saraogi <[email protected]>
Acked-by Julia Lawall <[email protected]>
--- scripts/coccinelle/null/badzero.cocci | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/coccinelle/null/badzero.cocci +2 -1
@@ -10,7 +10,7 @@ // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. // URL: http://coccinelle.lip6.fr/ -// Comments: +// Comments: Requires Coccinelle version 1.0.0-rc20 or later // Options: virtual patch
@@ -19,6 +19,7 @@ virtual org virtual report @initialize:ocaml@ +@@ let negtable = Hashtbl.create 101 @depends on patch@
Signature · 1 line
1.9.1
(added the rest of the coccinelle gang to cc)
Dne 28.5.2014 16:10, Himangi Saraogi napsal(a):
Quoted 32 lines
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.
Signed-off-by Himangi Saraogi <[email protected]>Acked-by Julia Lawall <[email protected]>--- scripts/coccinelle/null/badzero.cocci | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)scripts/coccinelle/null/badzero.cocci +2
-1@@ -10,7 +10,7 @@ // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. // URL: http://coccinelle.lip6.fr/ -// Comments: +// Comments: Requires Coccinelle version 1.0.0-rc20 or later // Options: virtual patch@@ -19,6 +19,7 @@ virtual org virtual report @initialize:ocaml@ +@@ let negtable = Hashtbl.create 101 @depends on patch@