Fixed, thanks. I think these are quite old examples. I didn't realize
that they were there...
julia
On Sun, 9 Sep 2012, Lars-Peter Clausen wrote:
The bad_zero example currently fails with:
Fatal error: exception Failure("meta: parse error:
= File "bad_zero.cocci", line 36, column 11, charpos = 252
around = '*', whole content = identifier *X;
")
Make X an idexpression instead of an identifier to fix it.
Signed-off-by: Lars-Peter Clausen <[email protected]>
---
demos/janitorings/bad_zero.cocci | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/demos/janitorings/bad_zero.cocci b/demos/janitorings/bad_zero.cocci
index 79c68f1..ca6c496 100644
--- a/demos/janitorings/bad_zero.cocci
+++ b/demos/janitorings/bad_zero.cocci
@@ -33,7 +33,7 @@ expression *E;
@@
-identifier *X;
+idexpression *X;
statement S;
@@
@@ -42,7 +42,7 @@ statement S;
S
@@
-identifier *X;
+idexpression *X;
statement S;
@@
--
1.7.2.5
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)