cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Julia Lawall <julia.lawall@inria.fr>
Cc: cocci@systeme.lip6.fr
Subject: Re: [Cocci] Using SmPL scripts to mangle function arguments
Date: Tue, 26 May 2020 13:23:16 +0200	[thread overview]
Message-ID: <9e76cc6f-4d1b-d196-08d6-1b82d789ba91@web.de> (raw)

> > @@
> > expression L, F;
> > @@
> >
> > - func_old(L, F, ...);
> > + func_old(__func_, ...);
>
> You can't add ...  Coccinelle has no idea what it refers to.

The software knows something about the involved source code.
This knowledge can be applied according to the functionality
of the SmPL ellipsis for deletions already.
The situation is different for code additions so far.
I am curious if this detail will eventually change somehow.

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

             reply	other threads:[~2020-05-26 11:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 11:23 Markus Elfring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-17  9:22 [Cocci] Using SmPL scripts to mangle function arguments Markus Elfring
2020-05-17  9:45 ` Julia Lawall
2020-05-26  1:21 ` Thomas Adam
2020-05-26  6:00   ` Markus Elfring
2020-05-26  6:41   ` Julia Lawall
2020-05-27 14:21   ` 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=9e76cc6f-4d1b-d196-08d6-1b82d789ba91@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@systeme.lip6.fr \
    --cc=julia.lawall@inria.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;
as well as URLs for NNTP newsgroup(s).