bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 52.


From: Collin Funk
Subject: Re: [PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 52.
Date: Sun, 10 Mar 2024 22:04:20 -0700
User-agent: Mozilla Thunderbird

Hi Bruno,

On 3/10/24 5:13 AM, Bruno Haible wrote:
>   automake_options = {x for y in configure_ac_automake_options for x in 
> y.split()}

I've attached the fixed patch. The only change is turning this line
to:

    automake_options = { x
                         for y in configure_ac_automake_options
                         for x in y.split() }

I would like to double check the regular expression I used:

    pattern = re.compile(r'^.*AM_INIT_AUTOMAKE\([\[ ]*([^\]\)]*).*$', 
re.MULTILINE)

Compared to the sed one:

    s,^.*AM_INIT_AUTOMAKE([[ ]*\([^])]*\).*$,\1,p

But I did not do it this patch since it would make the changes harder
to follow.

Collin

Attachment: 0002-gnulib-tool.py-Follow-gnulib-tool-changes-part-52.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]