bug-autoconf
[Top][All Lists]
Advanced

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

Re: pending/221: couldn't parse traces.pl: In string, @try now must be


From: Carlos Velasco
Subject: Re: pending/221: couldn't parse traces.pl: In string, @try now must be written as address@hidden at traces.pl line 22, near "@try"
Date: Thu, 19 Sep 2002 12:43:30 +0200

http://bugs.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=221&database=autoconf


Hi,

In autoconf/autoheader CVS

I was trying to upgrade an old file when I stepped into this bug.
Using AH_TOP to include a header into the template file resulted on:

couldn't parse /tmp/ah79k8w8/traces.pl: In string, @andrew now must be written 
as address@hidden at /tmp/ah79k8w8/traces.pl line 22, near "@andrew"

Editing the tmp file showed that perl string was like "address@hidden"
It seems that autoheader is not parsing "@" to "\@" when passing the string to 
perl.

I have searched for this error:

http://perl.plover.com/at-error.html




patch for CVS:

address@hidden:/home/ftp/compile/autoconf-2.54x/autoconf > cvs -d 
:pserver:address@hidden:/cvsroot/autoconf diff lib/m4sugar/m4sh.m4
Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.87
diff -u -r1.87 m4sh.m4
--- lib/m4sugar/m4sh.m4 1 Sep 2002 08:24:04 -0000       1.87
+++ lib/m4sugar/m4sh.m4 15 Sep 2002 14:36:02 -0000
@@ -309,7 +309,7 @@
 # Escape the CHARS in STRING.
 m4_define([AS_ESCAPE],
 [m4_bpatsubst([$1],
-             m4_ifval([$2], [[\([$2]\)]], [[\([\"$`]\)]]),
+             m4_ifval([$2], [[\([$2]\)]], [[\(address@hidden"$`]\)]]),
              [\\\1])])





Regards,
Carlos Velasco






reply via email to

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