Skip to contentSkip to conversation

Checking another special test call for SmPL

cocci Markus Elfring 1 participant 1 message Oct 24, 2025

lore
Share & tools
lore
#0 lore 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