This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[doc-patch] Fix broken cross-reference in info files, 2nd attempt


The first patch below fixes a broken cross-reference in invoke.texi.

The problem is that a colon ":" is in the title of the cross-ref.
Since this confuses info, I changed the title (this time using an em-dash).

The other two patches adjust the title of the gcov section and references
to it accordingly. While the first patch actually fixes a bug, the other
two are only for consistency.


2002-12-15  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

        PR other/7341
        * invoke.texi (ftest-coverage): Fix broken cross-reference.

==============================================================================
--- gcc-old/gcc/doc/invoke.texi	Tue Oct 29 17:35:04 2002
+++ gcc-new/gcc/doc/invoke.texi	Fri Dec 15 17:16:37 2002
@@ -2946,8 +2946,8 @@ block must be created to hold the instru
 @need 2000
 @item -ftest-coverage
 @opindex ftest-coverage
-Create data files for the @code{gcov} code-coverage utility
-(@pxref{Gcov,, @code{gcov}: a GCC Test Coverage Program}).
+Create data files for the @command{gcov} code-coverage utility
+(@pxref{Gcov,, @command{gcov}---a Test Coverage Program}).
 The data file names begin with the name of your source file:
 
 @table @gcctabopt
==============================================================================


2002-12-15  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

        * gcc.texi: Adjust title of gcov section.
        * gcov.texi: Likewise.

==============================================================================
--- gcc-old/gcc/doc/gcc.texi	Wed Sep 11 18:40:28 2002
+++ gcc-new/gcc/doc/gcc.texi	Mon Dec 16 19:36:55 2002
@@ -165,7 +165,7 @@ Introduction, gccint, GNU Compiler Colle
 * C++ Extensions::  GNU extensions to the C++ language.
 * Objective-C::     GNU Objective-C runtime features.
 * Compatibility::   Binary Compatibility
-* Gcov::	    gcov: a GCC test coverage program.
+* Gcov::            @command{gcov}---a test coverage program.
 * Trouble::         If you have trouble using GCC.
 * Bugs::            How, why and where to report bugs.
 * Service::         How to find suppliers of support for GCC.
==============================================================================
--- gcc-old/gcc/doc/gcov.texi	Wed Nov 14 01:47:40 2001
+++ gcc-new/gcc/doc/gcov.texi	Mon Dec 16 19:37:52 2002
@@ -30,7 +30,7 @@ included in the gfdl(7) man page.
 @end ignore
 
 @node Gcov
-@chapter @command{gcov}: a Test Coverage Program
+@chapter @command{gcov}---a Test Coverage Program
 
 @command{gcov} is a tool you can use in conjunction with GCC to
 test code coverage in your programs.
==============================================================================

Regards,
Volker



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]