From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Mon, 18 Aug 2014 12:55:36 +0200 Subject: [Cocci] Clarification for array indexing style In-Reply-To: References: <1408219616.2683.101.camel@joe-AO725> <1408222763.2683.107.camel@joe-AO725> <1408280475.17489.4.camel@joe-AO725> <53F0D3CB.4000803@users.sourceforge.net> <1408292542.17489.11.camel@joe-AO725> <53F1BB55.8080008@metafoo.de> <53F1CDF3.5010105@metafoo.de> Message-ID: <53F1DBA8.5010005@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > How about then > > ( > e1 . at e2 f + x > | > e1 ->@e2 f + x > ) > > where e2 has pointer typw (or array type?) > > e2 on the . or -> will pick up the entire innermost enclosing expression. > Would such a semantic patch approach handle also longer reference chains? Regards, Markus