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]

Re: [PATCH, Ada, DOC] PR15479: Fix markup of "GDB" and "gnat1".


On Tue, 22 Jul 2008, Arnaud Charlet wrote:

> > diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
> > index b55f398..22a625a 100644
> > --- a/gcc/ada/gnat_ugn.texi
> > +++ b/gcc/ada/gnat_ugn.texi
> > @@ -3686,7 +3686,7 @@ containing the directory information.
> >  @findex gnat1
> >  @command{gcc} is actually a driver program that looks at the extensions of
> >  the file arguments and loads the appropriate compiler. For example, the
> > -GNU C compiler is @file{cc1}, and the Ada compiler is @file{gnat1}.
> > +GNU C compiler is @file{cc1}, and the Ada compiler is @command{gnat1}.
> 
> I guess you meant @command{cc1} here, otherwise, it's clearly inconsistent.

Both cc1 and gnat1 are internal implementation details rather than 
commands for the user, so I think @file is actually appropriate here (and 
not documenting those internal implementation details in a user manual 
might be even better).

-- 
Joseph S. Myers
joseph@codesourcery.com


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