Re: [cocci] Moving string literals with SmPL?
Markus Elfring <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
>> // See also: >> // crypto_rng_show() >> // https://elixir.bootlin.com/linux/v6.18-rc4/source/crypto/rng.c#L82-L86 >> @adjustment@ >> constant char[] last_literal, literal; >> expression context; >> @@ >> -seq_printf(context, literal); >> seq_printf(context, >> + literal > > Why is there no comma after literal? > >> last_literal, >> ...); I would like to use adjacent string literals here. https://en.cppreference.com/w/c/language/string_literal.html#Explanation Regards, Markus