>> Another source code example: >> static const struct data const* my_pointer; > > That would still be just a duplicate, wouldn't it.
Would it make sense that the semantic patch language can also handle such misplaced stars or type qualifiers? > To actually make sense it would have to be: > static const struct data * const my_pointer; This kind of source code will be more useful together with an initialisation expression, won't it? Can you imagine more nice transformations here? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
