Patent Document ID: 5560010
Application ID: 08144699

Base Claim:
1. A computer-implemented process for generating declaration statements for objects defined in the external declarations of a source file, the process comprising the steps of: identifying data-type identifiers in an external declaration of the source file; storing a representation of the data-type identifiers as data-type keywords in a first memory location; identifying object declarators in the external declaration; storing a representation of the object declarators in a second memory location; determining whether the external declaration is an external definition or a typedef declaration; when the external declaration is an external definition, combining the data-type keywords in the first memory location and the object declarators in the second memory location to generate a declaration statement; when the external declaration is a typedef declaration, generating an entry in a symbol table with the data-type keywords from the first memory location, indexed by the object declarators from the second memory location; and repeating the preceding steps until all external declarations of the source file have been analyzed.

---

Claim 9:
9. The method of claim 1, further comprising the steps of: determining whether an external declaration is a struct, union, or enum declaration; when a struct, union, or enum declaration is identified, determining if the object declarator includes a tag; and generating a warning message when no tag is present.