From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Fri, 12 May 2017 17:38:52 +0200 Subject: [Cocci] Easy search for elements besides binary operators with SmPL In-Reply-To: References: <45237ab7-f7ba-07dd-e492-dc5ce330364e@users.sourceforge.net> <877850e1-87cd-8495-15bd-5afa82ea4913@users.sourceforge.net> Message-ID: <0d959fd6-9733-aac7-31d4-08bf4b27e28e@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr >> I find it just strange that extra parentheses are needed in such an use case >> at the moment. > > ... is used in a number of contexts in SmPL, and sometimes its use has to > be restricted to avoid parsing ambiguities. I tried to use extra parentheses for other source code search patterns. I left them ?accidentally? out with undesired consequences this time. > I'm a bit surprised also that it is a problem in this case. I find such a feedback interesting then if it will influence corresponding software evolution. Regards, Markus