I have this rule:
@@
typedef Conv;
@@
-Conv
+struct conv
And this file:
static Chan*
ipopen(Chan* c, int omode)
{
Conv *cv, *nc;
}
And this error:
init_defs_builtins: /usr/share/coccinelle/standard.h
HANDLING: /tmp/die.c
previous modification:
MINUS
>>> struct conv
According to environment 0:
current modification:
MINUS
>>> struct conv
According to environment 0:
Fatal error: exception Failure("rule starting on line 7: already tagged token:
C code context
File "/tmp/die.c", line 4, column 1, charpos = 43
around = 'Conv', whole content = Conv *cv, *nc;")
and zero clue :-)
is there a simple way out of this one?
thanks
ron
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci