>> @replacement@
>> identifier M;
>> @@
>>  #define M
>> -snprintf
>> +spgprintf_d
>>  (...)
>
> I think you could put \ in your semantic patch, like in C,

I am interested also in the support for escaping of line breaks
according to the desired handling of logical source lines.
But how will the corresponding parsing become better for the shown
tiny SmPL test script?


> but I don't know.

How will the knowledge evolve further for affected areas?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to