On Fri, Jun 26, 2020 at 12:57:59PM -0400, y2s1982 . wrote:
> > > * env.c(ompd_dll_locations_valid): Define with no compiler
> > optimization.
> >
> > Again, missing space.
> >
> > The contrib/mklog.py, which I use to generate these messages, seems to
> generate the statement without a space after the filename and before the (.
> It seems like an easy fix of just adding a space like the following:
> diff --git a/contrib/mklog.py b/contrib/mklog.py
> index 243edbb15c5..0b01cde6fca 100755
> --- a/contrib/mklog.py
> +++ b/contrib/mklog.py
> @@ -215,7 +215,7 @@ def generate_changelog(data, no_functions=False,
> fill_pr_titles=False):
> if functions:
> out += '\t* %s (%s):\n' % (relative_path,
> functions[0])
> for fn in functions[1:]:
> - out += '\t(%s):\n' % fn
> + out += '\t (%s):\n' % fn
> else:
> out += '\t* %s:\n' % relative_path
> out += '\n'
That is strange. The missing space I'm complaining about, e.g. between
env.c and (, is there in the above snippet, that is
'\t* %s (%s):\n'
^--------- this one
and the space you are adding to mklog.py is undesirable, when one modifies
multiple functions, it should look like:
* env.c (foo): Something.
(bar): Something else.
rather than
* env.c (foo): Something.
(bar): Something else.
Jakub