* stabs.texinfo (Cross-References): `::' is for nested types only

within <>.
	(Structures): Document static members.
This commit is contained in:
Jim Kingdon
1993-12-29 16:22:31 +00:00
parent 96e5cb2138
commit 6c06a518bf
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Tue Dec 28 09:30:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabs.texinfo (Cross-References): `::' is for nested types only
within <>.
(Structures): Document static members.
Mon Dec 27 13:55:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) Mon Dec 27 13:55:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabs.texinfo: Document S type attribute. * stabs.texinfo: Document S type attribute.

View File

@ -1648,8 +1648,9 @@ yet been defined.
Another way is with the @samp{x} type descriptor, which is followed by Another way is with the @samp{x} type descriptor, which is followed by
@samp{s} for a structure tag, @samp{u} for a union tag, or @samp{e} for @samp{s} for a structure tag, @samp{u} for a union tag, or @samp{e} for
a enumerator tag, followed by the name of the tag, followed by @samp{:}. a enumerator tag, followed by the name of the tag, followed by @samp{:}.
The name can contain @samp{::}---only a single @samp{:} ends the name; If the name contains @samp{::} between a @samp{<} and @samp{>} pair (for
see @ref{Nested Symbols}. C++ templates), such a @samp{::} does not end the name---only a single
@samp{:} ends the name; see @ref{Nested Symbols}.
For example, the following C declarations: For example, the following C declarations:
@ -1932,6 +1933,15 @@ The @code{s_next} field is a pointer to the same kind of structure that
the field is an element of. So the definition of structure type 16 the field is an element of. So the definition of structure type 16
contains a type definition for an element which is a pointer to type 16. contains a type definition for an element which is a pointer to type 16.
If a field is a static member (this is a C++ feature in which a single
variable appears to be a field of every structure of a given type) it
still starts out with the field name, a colon, and the type, but then
instead of a comma, bit position, comma, and bit size, there is a colon
followed by the name of the variable which each such field refers to.
If the structure has methods (a C++ feature), they follow the non-method
fields; see @ref{Cplusplus}.
@node Typedefs @node Typedefs
@section Giving a Type a Name @section Giving a Type a Name