[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ff8a1313-90a3-d009-dbc4-034fdbae82af@users.sourceforge.net>
Date: Fri, 19 Jan 2018 17:14:23 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: cocci@...teme.lip6.fr,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Himanshu Jha <himanshujha199640@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Gilles Muller <Gilles.Muller@...6.fr>,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Nicolas Palix <nicolas.palix@...g.fr>
Subject: Re: Coccinelle: zalloc-simple: Checking consequences from the usage
of at signs in Python strings
> I removed the blank line at EOF,
> then applied to linux-kbuild/misc.
This script for the semantic patch language is using the at sign within string
literals for Python code.
It is nice when this character seems to work also with the current software.
How does its usage fit to the following information in the SmPL manual?
https://github.com/coccinelle/coccinelle/blob/bf1c6a5869dd324f5faeeaa3a12d57270e478b21/docs/manual/cocci_syntax.tex#L50
“…
Furthermore, @ should not be used in this code.
Spatch scans the script code for the next @ and considers that to be the
beginning of the next rule, even if @ occurs within e.g., a comment.
…”
See also:
Configuration or escaping of @ characters for embedded programming language scripts
https://github.com/coccinelle/coccinelle/issues/36
Regards,
Markus
Powered by blists - more mailing lists