>> The following small script for the semantic patch language >> can point various source code places out for further considerations. >> >> @replacement@ >> expression x; >> identifier rc; > > Add: local idexpression lrc; > >> @@ >> -rc = x; > > Replace by - lrc@rc = x; > > julia > >> return >> - rc >> + x >> ; Thanks for your advice. >> Which adjustments should be taken better into account for this use case? The shown metavariable combination is interesting, isn't it? 2064 Linux source files are pointed out by this transformation approach. * Does this number need any additional thoughts? * Will it become helpful to integrate such a SmPL script into a corresponding Linux directory? Regards, Markus