Abstract:Generic unit is an important aspect characteristic of ADA. Most ADA compilers make several passes, one of which devoted signally to the preprocession of generic unit. There are also compilers that scan more than once for the procession of generic units. This paper proposed a new approach to processing of generic unit in ADA compilers in one pass, which is applied to the compiler system of PC/UNIX ADA Z, and had some satisfactory results.