bug-autoconf
[Top][All Lists]
Advanced

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

Re: CVS Texinfo fails to build the Autoconf manual (from git)


From: Eric Blake
Subject: Re: CVS Texinfo fails to build the Autoconf manual (from git)
Date: Tue, 17 Jul 2012 12:04:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 07/16/2012 10:53 AM, Patrice Dumas wrote:
> On Mon, Jul 16, 2012 at 12:14:01PM +0200, Stefano Lattarini wrote:
>> Here are the errors that I'm getting:
>>
>> autoconf.texi:8018: Misplaced }
> 
> I think that this is correct (and my guess is that the other are in fact
> consequences and similar other issues).

This topic is still being discussed as a regression in texinfo...

> 
>> Also, where is
>> that "conftest.c" coming from?
> 
> It comes from
> # 1 "conftest.c"
> 
> and the new feature of recognizing those kind of line specifications
> to match with what m4 produces.

But this one is easy to fix.

>  You can use @hashchar{} instead of #,
> maybe.  Or, to be backward compatible
> 
> @asis{# 1 "conftest.c"}
> 

Indeed; here's what I'm pushing.

From 8c8522f1c5c8362ec683b5464e99a95bc735677f Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Tue, 17 Jul 2012 12:02:12 -0600
Subject: [PATCH] doc: fix texinfo location reports

Otherwise, newer texinfo parses this line as a line directive, and
any error later in the file will claim to be from "conftest.c" instead
of "autoconf.texi".

* doc/autoconf.texi (Generating Sources): Avoid confusing newer
texinfo into thinking we had a line directive.
Reported by Stefano Lattarini, fix suggested by Patrice Dumas.
---
 doc/autoconf.texi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 75a204f..78a2c67 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -9155,7 +9155,7 @@ Generating Sources
 @example
 @c If you change this example, adjust tests/compile.at:AC_LANG_SOURCE
example.
 @dots{}
-# 1 "conftest.c"
address@hidden 1 "conftest.c"

 #define PACKAGE_NAME "Hello"
 #define PACKAGE_TARNAME "hello"
@@ -9200,7 +9200,7 @@ Generating Sources
 @example
 @c If you change this example, adjust tests/compile.at:AC_LANG_PROGRAM
example.
 @dots{}
-# 1 "conftest.c"
address@hidden 1 "conftest.c"

 #define PACKAGE_NAME "Hello"
 #define PACKAGE_TARNAME "hello"
-- 
1.7.10.4
-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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