Skip to contentSkip to conversation

Using SmPL scripts to mangle function arguments

Cocci Markus Elfring 1 participant 1 message May 26, 2020

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines
Quoted 6 lines

@@
expression L, F;
@@

- func_old(L, F, ...);
+ func_old(__func_, ...);

You can't add ... Coccinelle has no idea what it refers to.

The software knows something about the involved source code. This knowledge can be applied according to the functionality of the SmPL ellipsis for deletions already.
The situation is different for code additions so far. I am curious if this detail will eventually change somehow.

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