uninitialized coccinelle in python script code
The following semantic patch fails unless there is an @initialize:python@ @@ rule:
@@
expression path;
fresh identifier newpath = script:python (path) { "XXX" + path };
@@
- f(path)
+ f(newpath)
Test .c file:
int main () {
f("path");
}