> @r@
> type S;
> identifier x;
> typedef cpumask_t;
> @@
> S { ...
> * cpumask_t x;
> ...
> };
If you just want to consider the structure declaration, then there should
not be a ; afterwards.
The problem with the * generating parse errors and giving a - for the
SLIST_ENTRY line and the PCPU_MD_FIELDS line is a bug in Coccinelle.
Perhaps you can just ignore them for the moment? If you try to perform a
transformation, it will work properly.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)