Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

From: Markus Elfring
Date: Sat Jul 18 2020 - 08:15:38 EST


> You proposed essentially \( A \| B \) \( | C \| \)

Will the software development attention grow for a topic
like âExtend support for handling of optional source code partsâ?
https://github.com/coccinelle/coccinelle/issues/53

How do you think about another tiny example script for the semantic patch language?

@display@
constant A, B;
@@
*A
?| B


elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci optional_disjunction_test3-20200718.cocci
â
warning: incompatible arity found on line 4
incompatible minus and plus code starting on lines 4 and 4


Regards,
Markus