* bin/autom4te.in (handle_traces): Handle @&t@ in traces.

Reported by Peter Eisentraut.
This commit is contained in:
Akim Demaille 2002-10-23 07:37:38 +00:00
parent 38999f6a79
commit 3c17011eec
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-10-23 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (handle_traces): Handle @&t@ in traces.
Reported by Peter Eisentraut.
2002-10-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the

View File

@ -999,9 +999,9 @@ EOF
my $in = new Autom4te::XFile ("$m4 $tmp/traces.m4 |");
my $out = new Autom4te::XFile (">$output");
# FIXME: Hm... This is dubious: should we really transform the
# quadrigraphs in traces? It might break balanced [ ] etc. in the
# output.
# This is dubious: should we really transform the quadrigraphs in
# traces? It might break balanced [ ] etc. in the output. The
# consensus seeems to be that traces are more useful this way.
while ($_ = $in->getline)
{
# It makes no sense to try to transform __oline__.
@ -1009,6 +1009,7 @@ EOF
s/\@:>\@/]/g;
s/\@\$\|\@/\$/g;
s/\@%:\@/#/g;
s/\@&t\@//g;
print $out $_;
}
}