>> How does your software decide which comment should be treated
>> as simple text before or after an item?
>
> It takes all of the comments before (up to the preceding non comment
> token if any) within and after (up to the following non comment token
> if any).

I find that this information can be confusing.
Will the desired text relationships become clearer?


> I'm not sure what happens at the end of a function.

Interesting special case.


> I suspect that the end of a function is the end.  The comments that
> are before the start of the next function are not considered to be after
> the function that precedes them.

Will such details become relevant also for the SmPL manual?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to