]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(handle_traces): [^ *\(.*\) *$] ->
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Dec 2002 06:51:15 +0000 (06:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Dec 2002 06:51:15 +0000 (06:51 +0000)
[^ *\(.*[^ ]\)? *].  The old regular expression was obviously wrong,
and it blunders into a GNU m4 bug as noted by Martin Frydl in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>.

bin/autom4te.in

index 2b4ca03f469897e2176edb9b82060cb890e9142e..4de2907783a71a78493760f8f83c86ca61c9a17c 100644 (file)
@@ -943,7 +943,7 @@ sub handle_traces ($$%)
   define([at_flatten],
   [at_patsubst(at_patsubst(at_patsubst([[[$1]]], [\\\n]),
                            [[\n\t ]+], [ ]),
-               [^ *\(.*\) *$], [[\1]])])
+               [^ *\(.*[^ ]\)? *], [[\1]])])
 
   define([at_args],    [at_shift(at_shift(at_shift(at_shift(at_shift($@)))))])
   define([at_at],      [_$0([$1], at_args($@))])