From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Thu, 17 Aug 2017 21:43:15 +0200 Subject: [Cocci] Comparing statement lists with SmPL In-Reply-To: References: <69d615e4-0f62-2289-dd59-97c625ba47e8@users.sourceforge.net> <76e2fbf5-4812-18eb-2968-53019d97ab14@users.sourceforge.net> Message-ID: <9920adb8-0af4-ef20-f5f2-2fc3d73073b2@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr >> * Are there further development challenges to consider for the safe identification >> of unique statements by metavariables? > > If you want to ensure that two metavariables match things in different > places, then put a position variable on each match and use apython rule > afterwards to discard the occurrences that are both in the same position. I hoped for a more convenient search specification to reduce duplicate source code a bit. Regards, Markus