On Tue, 22 Jan 2019, Timur Tabi wrote:
> On Wed, Dec 19, 2018 at 12:22 AM Julia Lawall <[email protected]> wrote:
> >
> > Before you change a given function, everything is reliable. Afterwards,
> > only the function name and the column start and end would be reliable.
>
> Is there any way you can enhance spatch so that it correctly remembers
> the real name of the file that it's modifying, not just the mangled
> temporary file name?
You can use List.hd (Coccilib.files()) in OCaml. I guess some similar
function exists for python.
julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci