Skip to contentSkip to conversation

Using @ characters in string literals

cocci Markus Elfring 1 participant 1 message Nov 13, 2025

lore
Share & tools
lore
#0 lore raw

Hello,

Special information is provided in the manual of the semantic patch language for the usage of @ characters.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/docs/manual/cocci_syntax.tex#L50-55
https://github.com/coccinelle/coccinelle/blob/9e8fb87bd681a6f5ee9ae43df6322d2c5ee7887b/docs/manual/cocci_syntax.tex#L50-L55

Thus I hoped to achieve corresponding adjustments also by the clarification approach “Configuration or escaping of @ characters for embedded programming language scripts” (from 2014-12-26).

I observed that the character “@” can be used several times within string literals (in Python scripts for example).
How will the data processing support evolve further for such a technical detail?

Regards,
Markus