On Tue, 26 Mar 2024, Qing Zhao wrote:
> >> +@cindex @code{counted_by} variable attribute
> >> +@item counted_by (@var{count})
> >> +The @code{counted_by} attribute may be attached to the C99 flexible array
> >> +member of a structure. It indicates that the number of the elements of
> >> the
> >> +array is given by the field named "@var{count}" in the same structure as
> >> the
> >> +flexible array member.
> >
> > You shouldn't use ASCII quotes like that in Texinfo (outside @code etc.
> > where they represent literal quotes in programming language source code).
> > You can say ``@var{count}'' if you wish to quote the name.
> A little confused with the above..
> So, what should I change in the above statement?
I don't think you actually need quotes (or "named") at all; just
the field @var{count}
in place of
the field named "@var{count}"
would suffice. But if you use quotes (for an English-language quotation,
as opposed to when the quotes themselves are part of programming-language
source code given in the manual), in Texinfo you should use ``'' rather
than "".
--
Joseph S. Myers
[email protected]