>> *\( sizeof(t) \| sizeof(*e) \) >> >> >> Would it be nice if another script variant can work together with >> such a SmPL disjunction also in this way? > > No. They are quite different because the () is required on a type but > optional on an expression. … >> @display2@ >> expression* e; >> type t; >> @@ >> *sizeof( \( t \| *e \) )
Would such a search pattern be acceptable if both items would be handled as non-optional selections in this case? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
