]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
doc: fix texinfo location reports
authorEric Blake <eblake@redhat.com>
Tue, 17 Jul 2012 18:02:12 +0000 (12:02 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 17 Jul 2012 18:02:12 +0000 (12:02 -0600)
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

index 75a204fc3d775cb23998eea33356314f7e4e3c40..78a2c67f1675e811848c10b035d4a76a54b14b09 100644 (file)
@@ -9155,7 +9155,7 @@ on a system with @command{gcc} installed, results in:
 @example
 @c If you change this example, adjust tests/compile.at:AC_LANG_SOURCE example.
 @dots{}
-# 1 "conftest.c"
+@asis{#} 1 "conftest.c"
 
 #define PACKAGE_NAME "Hello"
 #define PACKAGE_TARNAME "hello"
@@ -9200,7 +9200,7 @@ on a system with @command{gcc} installed, results in:
 @example
 @c If you change this example, adjust tests/compile.at:AC_LANG_PROGRAM example.
 @dots{}
-# 1 "conftest.c"
+@asis{#} 1 "conftest.c"
 
 #define PACKAGE_NAME "Hello"
 #define PACKAGE_TARNAME "hello"