on 21/10/2010 17:12 Julia Lawall said the following:
>> @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.
Oh, good to know!
Thank you very much again!
P.S. It seems that the download page is updated, but <a> tag is not closed after
"FreeBSD".
--
Andriy Gapon
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)