From mboxrd@z Thu Jan 1 00:00:00 1970 From: julia.lawall@lip6.fr (Julia Lawall) Date: Tue, 22 Aug 2017 12:15:22 +0200 (CEST) Subject: [Cocci] Comparing statement lists with SmPL In-Reply-To: <9b9a69c1-105a-47e5-099e-816efd08d8f4@users.sourceforge.net> References: <69d615e4-0f62-2289-dd59-97c625ba47e8@users.sourceforge.net> <76e2fbf5-4812-18eb-2968-53019d97ab14@users.sourceforge.net> <9b9a69c1-105a-47e5-099e-816efd08d8f4@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Tue, 22 Aug 2017, SF Markus Elfring wrote: > >> * A test result was shown from two function implementations. > >> It can be nice to compare several functions. > >> Is it also possible that the comparison will be only performed within > >> the same function bodies? > > > > If you make a single rule then it will only applied within individual functions. > > How do the presented functions ?usb6fire_fw_ezusb_upload? and ?usb6fire_fw_fpga_upload? > fit to this information? The pattern matched in two different functions? julia