public inbox for cocci@systeme.lip6.fr
 help / color / mirror / Atom feed
From: julia.lawall@lip6.fr (Julia Lawall)
To: cocci@systeme.lip6.fr
Subject: [Cocci] spatches for cpp?
Date: Thu, 25 Oct 2012 13:19:14 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1210251318530.1955@hadrien> (raw)
In-Reply-To: <CAP6exYJCAAPUyc4K8dYfLG23Aekb1nEC=O4Cv-R2AL4TEEtABw@mail.gmail.com>

On Wed, 24 Oct 2012, ron minnich wrote:

> Are there ways to patch sequences such as
> #if x
> #endif
>
> to some other sequence? My tries have failed, I'm hoping I'm missing something.

No, it is not possible.  It is not possible to match on cpp code, only t
generate it.

julia

  reply	other threads:[~2012-10-25 11:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 22:03 [Cocci] spatches for cpp? ron minnich
2012-10-25 11:19 ` Julia Lawall [this message]
2012-10-26 10:55   ` [Cocci] semantic patches for C preprocessing constructs? SF Markus Elfring
2012-10-26 13:47     ` Julia Lawall
2012-10-28  9:14       ` SF Markus Elfring
2012-10-28 12:14         ` Julia Lawall
2012-10-28 16:02           ` SF Markus Elfring
2012-10-29  8:28             ` Nicolas Palix
2012-10-29 11:50               ` [Cocci] Application of model-driven engineering? SF Markus Elfring

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.1210251318530.1955@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox