Re: [Cocci] Checking the handling of spaces before opening parentheses for source code transformations

2020-11-05 Thread Markus Elfring
> If you want to ensure that your generated code has such properties, > you can use the argument --smpl-spacing. It is nice that code additions can be influenced by such a parameter. > If you want something more, you are welcome to implement it. I imagine that adjustments for matched metavariab

Re: [Cocci] Checking the handling of spaces before opening parentheses for source code transformations

2020-11-05 Thread Markus Elfring
> If you want to ensure that your generated code has such properties, you > can use the argument --smpl-spacing. Can there be a need for a related run time parameter for the handling of line breaks? Regards, Markus ___ Cocci mailing list Cocci@systeme.l

Re: [Cocci] Checking the handling of spaces before opening parentheses for source code transformations

2020-11-05 Thread Julia Lawall
On Thu, 5 Nov 2020, Markus Elfring wrote: > Hello, > > The coding style specification for C programs in GNOME contains also > the following information. > https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en#whitespace > > “… > Always put a space before an opening par

[Cocci] Checking the handling of spaces before opening parentheses for source code transformations

2020-11-05 Thread Markus Elfring
Hello, The coding style specification for C programs in GNOME contains also the following information. https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en#whitespace “… Always put a space before an opening parenthesis but never after: …” How good can the semantic pa