Coccinelle archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: cocci@inria.fr
Subject: [cocci] Checking another special test call for SmPL
Date: Fri, 24 Oct 2025 19:02:21 +0200	[thread overview]
Message-ID: <78fb5154-dd7e-4d8c-918d-ce2f606334aa@web.de> (raw)

Hello,

I would appreciate if another source code transformation can be achieved
also by the means of the semantic patch language.
Thus I tried the following SmPL script variant out.

@display@
attribute name ABC;
@@
*ABC abc(xyz);


Unfortunately, I was disturbed by the following information.

Questionable test result (according to the software combination “Coccinelle 1.3.0”):
Markus_Elfring@Sonne:…/Projekte/Coccinelle/Probe> /usr/bin/spatch --parse-cocci show_special_test_call-20251024.cocci
…
minus: parse error: 
  File "show_special_test_call-20251024.cocci", line 4, column 5, charpos = 38
  around = 'abc',
  whole content = *ABC abc(xyz);


Under which circumstances will such data processing become better supported?

Regards,
Markus

                 reply	other threads:[~2025-10-24 17:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=78fb5154-dd7e-4d8c-918d-ce2f606334aa@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@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 read-only IMAP folder(s) and NNTP newsgroup(s).