> How would you like to improve the pretty-printing for the Coccinelle software?
I guess that another small test approach will trigger further development considerations. @replacement@ @@ if (...) -{ -} +info: +puts("surprise"); elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch empty_compound_statement_for_if1.c replace_empty_compound_statement_for_if4.cocci … @@ -1,5 +1,6 @@ void x(void) { -if (1) { -} +if (1) info: + +puts("surprise"); } Do you find such a test result also questionable? Regards, Markus _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci