add comments re stub types

This commit is contained in:
Jim Kingdon
1993-08-26 15:37:03 +00:00
parent ee3119d45f
commit 065525e3a7
2 changed files with 8 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ enum type_code
#define TYPE_FLAG_SIGNED (1 << 1)
/* This appears in a type's flags word if it is a stub type (eg. if
/* This appears in a type's flags word if it is a stub type (e.g., if
someone referenced a type that wasn't defined in a source file
via (struct sir_not_appearing_in_this_film *)). */
@@ -150,7 +150,9 @@ struct type
with this feature.
This is used for printing only, except by poorly designed C++ code.
For looking up a name, look for a symbol in the STRUCT_NAMESPACE. */
For looking up a name, look for a symbol in the STRUCT_NAMESPACE.
One more legitimate use is that if TYPE_FLAG_STUB is set, this is
the name to use to look for definitions in other files. */
char *tag_name;