Greetings, I was playing around with spatch in an attempt to create a wrapper utility for renaming. Given the following script: @ rn_dec @ type T; identifier I = i; @@ - T I + T b ; And the following input: void f() {     int i;     for (int i;;) { ; } } The following patch is generated: diff = --- main.c +++ /tmp/cocci-output-9754-fec11b-main.c @@ -1,4 +1,4 @@  void f() { -    int i; +    int b;      for (int i;;) { ; }  } However, I would expect the declaration inside the 'for' to be replaced too. My only questions is: is the observed behaviour intended? Cheers!