All of lore.kernel.org
 help / color / mirror / Atom feed
From: julia.lawall@lip6.fr (Julia Lawall)
To: cocci@systeme.lip6.fr
Subject: [Cocci] python variable in spatch
Date: Wed, 29 May 2013 12:23:27 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1305291222330.2246@hadrien> (raw)
In-Reply-To: <CAKGFgN1wM+9-ALpJ4QO1Y5_pjhXJdZWBBEgWesdsq64v+_1jpg@mail.gmail.com>

On Wed, 29 May 2013, Anthony wrote:

> Hi,
>
> I would like to apply a semantic patch which will include some values
> generated through a @script:python@ block, but I didn't succeed so
> far.
> e.g.: update variable names based on a csv file, parsed in a python block.
> Any idea someone ?

Did you take a look at demos/pythontococci.cocci ?

If that didn't help, please send an example that causes problems.

julia

  reply	other threads:[~2013-05-29 10:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 10:20 [Cocci] python variable in spatch Anthony
2013-05-29 10:23 ` Julia Lawall [this message]
2013-05-29 12:57   ` Anthony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1305291222330.2246@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=cocci@systeme.lip6.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.