On Thu, 24 Jun 2010, Florian Many wrote:
> Good afternoon,
>
> i need to remove code from C files. These files contain the __asm{...}
> instruction, and i want to remove this instruction.
>
> I wrote this patch:
> @@
> @@
> - __asm
> {
> - ...
> }
>
> But the -parse_cocci option returns "line 3: should __asm be a metavariable?"
This is a warning, not an error message. However, Coccinelle does not
really support __asm code. Normally, it either skips over it locally, or
skips over the containing function. Perhaps it could be added, but it
might be complex.
julia
> and the -debug mode:
> bad __asm
> BAD!!!!!! {
> bad cli
> bad }
>
> Could you help me to solve this problem?
>
> yours sincerely
>
> --
> IETA Florian MANY
> Doctorant DGA Techniques aéronautiques-ONERA
>
> ONERA - DTIM
> 2 avenue Edouard Belin
> 31055 Toulouse Cedex 4
>
> Tél: 05.62.25.26.73
>
> http://www.onera.fr
>
>
> _______________________________________________
> Cocci mailing list
> [email protected]
> http://lists.diku.dk/mailman/listinfo/cocci
> (Web access from inside DIKUs LAN only)
>
> _______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)