All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Jaskaran Singh <jaskaransingh7654321@gmail.com>, cocci@systeme.lip6.fr
Cc: linux-kernel-mentees@lists.linuxfoundation.org,
	Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [Cocci] [2/2] tests: Add test case for user comments attached to identifiers
Date: Sat, 11 Jan 2020 10:18:02 +0100	[thread overview]
Message-ID: <24fd0119-e78d-ef08-e3e6-ae88cdb63f37@web.de> (raw)
In-Reply-To: <20200110171150.14695-3-jaskaransingh7654321@gmail.com>

> +@ script:python r1 @
> +id;
> +@@
> +coccinelle.id = "id/* user comment */"

I am still looking for further clarification around this programming interface.

See also topics like the following:
* Propagating values back from Python script to SmPL rule with other metavariable
  type than “identifier”
  https://github.com/coccinelle/coccinelle/issues/86

* Reconsider programming interfaces for script-constructed metavariables
  https://github.com/coccinelle/coccinelle/issues/132

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

WARNING: multiple messages have this Message-ID (diff)
From: Markus Elfring <Markus.Elfring@web.de>
To: Jaskaran Singh <jaskaransingh7654321@gmail.com>, cocci@systeme.lip6.fr
Cc: linux-kernel-mentees@lists.linuxfoundation.org
Subject: Re: [Linux-kernel-mentees] [Cocci] [2/2] tests: Add test case for user comments attached to identifiers
Date: Sat, 11 Jan 2020 10:18:02 +0100	[thread overview]
Message-ID: <24fd0119-e78d-ef08-e3e6-ae88cdb63f37@web.de> (raw)
In-Reply-To: <20200110171150.14695-3-jaskaransingh7654321@gmail.com>

> +@ script:python r1 @
> +id;
> +@@
> +coccinelle.id = "id/* user comment */"

I am still looking for further clarification around this programming interface.

See also topics like the following:
* Propagating values back from Python script to SmPL rule with other metavariable
  type than “identifier”
  https://github.com/coccinelle/coccinelle/issues/86

* Reconsider programming interfaces for script-constructed metavariables
  https://github.com/coccinelle/coccinelle/issues/132

Regards,
Markus
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

  parent reply	other threads:[~2020-01-11  9:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10 17:11 [Cocci] [PATCH 0/2] cocci: Support user comments attached to identifiers Jaskaran Singh
2020-01-10 17:11 ` [Linux-kernel-mentees] " Jaskaran Singh
2020-01-10 17:11 ` [Cocci] [PATCH 1/2] parsing_c: Support user comments attached to identifier Jaskaran Singh
2020-01-10 17:11   ` [Linux-kernel-mentees] " Jaskaran Singh
2020-01-10 17:11 ` [Cocci] [PATCH 2/2] tests: Add test case for user comments attached to ident Jaskaran Singh
2020-01-10 17:11   ` [Linux-kernel-mentees] " Jaskaran Singh
2020-01-10 18:39   ` [Cocci] [PATCH 2/2] tests: Add test case for user comments attached to identifiers Markus Elfring
2020-01-10 18:39     ` [Linux-kernel-mentees] " Markus Elfring
2020-01-11  9:18   ` Markus Elfring [this message]
2020-01-11  9:18     ` [Linux-kernel-mentees] [Cocci] [2/2] " 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=24fd0119-e78d-ef08-e3e6-ae88cdb63f37@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@systeme.lip6.fr \
    --cc=jaskaransingh7654321@gmail.com \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=skhan@linuxfoundation.org \
    /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.