Evolutionary development of a semantic patch using Coccinelle
Evolutionary development of a semantic patch using Coccinelle
Posted Mar 31, 2010 4:06 UTC (Wed) by wsa (guest, #52415)In reply to: Evolutionary development of a semantic patch using Coccinelle by neilbrown
Parent article: Evolutionary development of a semantic patch using Coccinelle
Grepping is possible, too. You can use '*' in the first column to just display a match. So, a general approach would be:
@@ // This metavariable has a defined type struct foo *var; @@ * var->next
