[documentation] Fix GTY header file example
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 4 Aug 2021 12:01:56 +0000 (14:01 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 9 Aug 2021 11:27:54 +0000 (13:27 +0200)
Fix-up for CVS 'gcc/doc/gty.texi' r1.6 (Subversion r55857, Git
commit cba57c9d40057fa78efc9a404ab4ae7101a59dcb) "Minor doc updates"

gcc/
* doc/gty.texi (Files): Fix GTY header file example.

gcc/doc/gty.texi

index aaf97ae..b90931d 100644 (file)
@@ -628,7 +628,7 @@ header file that should be included in the source file you just changed.
 The file will be called @file{gt-@var{path}.h} where @var{path} is the
 pathname relative to the @file{gcc} directory with slashes replaced by
 @verb{|-|}, so for example the header file to be included in
-@file{cp/parser.c} is called @file{gt-cp-parser.c}.  The
+@file{cp/parser.c} is called @file{gt-cp-parser.h}.  The
 generated header file should be included after everything else in the
 source file.  Don't forget to mention this file as a dependency in the
 @file{Makefile}!