Hi!
> > Would you like to be more explicit in the semantic patch language
> > around source code adjustments which should also affect
> > corresponding comments?
> 
> It seems complicated, and people don't always follow the same comventions.
> 
> Probably it is thinking that the code looks like this:
> 
> /*some comment on b */
> int b;

That explains it.

> I could change it so that this strategy is only followed if /*some comment
> on b */ starts at the beginning of the line.

That sounds good. What would be the strategy for the other case then?

-- 
Cyril Hrubis
[email protected]
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to