All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] smpl-spacing Whitespace Issue on Assignments (regression)
@ 2015-05-03 21:14 Michael Stefaniuc
  2015-05-03 21:58 ` Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Stefaniuc @ 2015-05-03 21:14 UTC (permalink / raw)
  To: cocci

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;


bye
	michael

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-04  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-03 21:14 [Cocci] smpl-spacing Whitespace Issue on Assignments (regression) Michael Stefaniuc
2015-05-03 21:58 ` Julia Lawall
2015-05-04  8:10   ` Michael Stefaniuc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.