All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] if statements including assignments
@ 2013-08-26 19:26 Wolfram Sang
  2013-08-26 19:48 ` Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2013-08-26 19:26 UTC (permalink / raw)
  To: cocci

Hi,

I'd basically need something like:

	if (... when != var)

to match. I couldn't find a way to express it. This is needed since
there are constructs like:

	if (var = something())

which I don't want to match since they assign var a value which is fine
in my case.

Thanks,

   Wolfram

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20130826/d6e5c95f/attachment.asc>

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

end of thread, other threads:[~2013-08-26 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26 19:26 [Cocci] if statements including assignments Wolfram Sang
2013-08-26 19:48 ` Julia Lawall
2013-08-26 20:17   ` Wolfram Sang

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.