On Sun, 27 Mar 2011, Jonathan Nieder wrote: > Julia Lawall wrote: > > > There is no short term solution for the semantic patch as written. But it > > is possible to reorganize the semantic patch in this case to make it work. > > The transformation needs to be just on the specific declared variable, and > > not on the complete declaration statement: > > > > @@ > > identifier x; > > type T; > > @@ > > > > T x > > - = x > > ; > > Neat trick. > > I just remembered another feature request: would it be difficult for > spatch to write a relevant filename and line number with its error > messages? (In this example, I made do by repeatedly bisecting the set > of files passed on the command line.)
I've done that. Typically, when I want to work on an entire directory, I give spatch the option -dir dirname, and then it prints out the names of the files as it treats them. It doesn't help with the line number, though. In any case, I changed the code to print out both information. julia -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org