Thanks for your detailed response.
In fact, it looks like a string is a constant element in the grammar of Coccinelle. Thus, we can change a string "aaa" to a string "bbb", but there is no way to "look inside the literal" and make transformations there from SmPL alone.
Would it make sense to peek into strings and source code comments by the semantic patch language?
Would it be convenient and safer to avoid calls into SmPL's scripting interfaces? Regards, Markus _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
