automake-patches
[Top][All Lists]
Advanced

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

Re: [FYI] {maint} automake: don't define many identical 'lang_*_rewrite'


From: Peter Rosin
Subject: Re: [FYI] {maint} automake: don't define many identical 'lang_*_rewrite' subroutines
Date: Mon, 27 Aug 2012 18:10:13 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 2012-08-27 17:46, Stefano Lattarini wrote:
> This is just a simplifying refactoring, with no semantic change intended.
> 
> Cherry-picked from the Automake-NG commit 'v1.12.1-312-g63aa4a9' of
> 2012-06-07.
> 
> Signed-off-by: Stefano Lattarini <address@hidden>
> ---
>  automake.in | 93 
> ++++---------------------------------------------------------
>  1 file changed, 5 insertions(+), 88 deletions(-)
> 
> diff --git a/automake.in b/automake.in
> index a9c1a06..1835f6d 100644
> --- a/automake.in
> +++ b/automake.in
> @@ -1749,6 +1749,7 @@ sub handle_single_transform ($$$$$%)
>           # generates another source file which we must then process
>           # further.
>           my $subr = \&{'lang_' . $lang->name . '_rewrite'};
> +            defined &$subr or $subr = \&lang_sub_obj;
>           my ($r, $source_extension)

Nitpicking...but...inconsistent whitespace.

Cheers,
Peter




reply via email to

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