> Metavariables lose all of their whitespace and comments,

Would you like to reconsider such details because of information from
the documentation?

“Coccinelle is a tool to help automate repetitive source-to-source
style-preserving program transformations on C source code, like for instance
to perform some refactorings.”
https://github.com/coccinelle/coccinelle/blob/848f85e256516330c06f5fd8dc782b854ed9aa03/docs/manual/introduction.tex#L4


> so that they can be unified against other instances that have different
> whitespace and comments.

The involved abstraction levels influence the software situation considerably.


> Perhaps dropping the information could be delayed until the metavariable
> needs to be compared against another one, but that doesn't seem to be
> what is done at the moment.

I am curious on how the motivation will evolve for corresponding imaginations
and change possibilities.
Would you like to take another look at a feature request like “Add a 
metavariable
for the handling of source code”?
https://github.com/coccinelle/coccinelle/issues/140

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

Reply via email to