From: Markus Elfring <Markus.Elfring@web.de>
To: Coccinelle <cocci@systeme.lip6.fr>
Subject: [Cocci] Searching designated initialisers with SmPL
Date: Sun, 27 Oct 2019 16:12:40 +0100 [thread overview]
Message-ID: <258d568b-2783-9f13-d84d-37a84150432b@web.de> (raw)
Hello,
I hoped to achieve something together with the semantic patch language
by the following search pattern.
@display@
identifier action, driver;
@@
static struct platform_driver driver =
{
<+...
*.remove = action
...+>
};
Unfortunately, I stumble on another error message.
elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch --parse-cocci show_designated_initialisers6.cocci
…
minus: parse error:
File "show_designated_initialisers6.cocci", line 7, column 1, charpos = 91
around = '.',
whole content = *.remove = action
How would you like to clarify the software behaviour for
such an use case?
Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
next reply other threads:[~2019-10-27 15:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-27 15:12 Markus Elfring [this message]
2019-10-27 16:14 ` [Cocci] Searching designated initialisers with SmPL Julia Lawall
2019-10-27 16:47 ` Markus Elfring
2019-10-27 16:50 ` Julia Lawall
2019-10-27 17:08 ` Markus Elfring
2019-10-27 17:17 ` Julia Lawall
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=258d568b-2783-9f13-d84d-37a84150432b@web.de \
--to=markus.elfring@web.de \
--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;
as well as URLs for NNTP newsgroup(s).