On Sun, 3 May 2015, Michael Stefaniuc wrote:

> Hello Julia,
> 
> sorry for the delay, here is the whitespace regression though it affects
> only --smpl-spacing
> 
> foo.cocci:
> @@
> expression e1, e2;
> @@
> - e1 = e2
> + c = d
> 
> foo.c:
> void foo(void)
> {
>     int a, b;
>     b = a;
> }
> 
> spatch --smpl-spacing foo.cocci foo.c
> gives:
> -    b = a;
> +    c=d;

Just out of curiosity, did it work recently?  I don't think I have changed 
anything recently related to assignments.  I will look into it.

Thanks for the report.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to