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?"

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)

Reply via email to