Hi! On 2002-07-29T16:48:45-0700, Geoffrey Keating <geo...@redhat.com> wrote: > - Some improvements to the GTY documentation
Yay for documentation! > --- doc/gty.texi 27 Jul 2002 20:54:52 -0000 1.5 > +++ doc/gty.texi 29 Jul 2002 23:47:39 -0000 > +For source files that aren't header files, the machinery will generate a > +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{objc/objc-parse.c} is called @file{gt-objc-objc-parse.c}. [...] As obvious, pushed "[documentation] Fix GTY header file example" to master branch in commit 67b8443bd1f6cfb194eed6043a3acca4369fd09c, see attached. Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
>From 67b8443bd1f6cfb194eed6043a3acca4369fd09c Mon Sep 17 00:00:00 2001 From: Thomas Schwinge <tho...@codesourcery.com> Date: Wed, 4 Aug 2021 14:01:56 +0200 Subject: [PATCH] [documentation] Fix GTY header file example 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index aaf97ae9ad5..b90931dcc9c 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -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}! -- 2.30.2