From: mstefani@redhat.com (Michael Stefaniuc)
To: cocci@systeme.lip6.fr
Subject: [Cocci] rewrite C preprocessor
Date: Wed, 31 Oct 2012 13:12:10 +0100 [thread overview]
Message-ID: <5091159A.3030007@redhat.com> (raw)
In-Reply-To: <CAP6exYJmah2MZkd5XSukArznvYbe3fn38Q9o5ppJDj7Z9JNd5Q@mail.gmail.com>
On 10/24/2012 11:59 PM, ron minnich wrote:
> Somebody asked me about a way to semantically patch
> #ifdef X
> to
> #if configured(X)
>
> I'm not sure I can rewrite cpp bits in coccinelle, I failed on my
> first few attempts, but .. can I?
Use perl/sed/awk
bye
michael
next prev parent reply other threads:[~2012-10-31 12:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 21:59 [Cocci] rewrite C preprocessor ron minnich
2012-10-31 12:12 ` Michael Stefaniuc [this message]
2012-11-17 23:16 ` Håkon Løvdal
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=5091159A.3030007@redhat.com \
--to=mstefani@redhat.com \
--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.