Annotation of 40BSD/cmd/lint/lmanifest, revision 1.1.1.1

1.1       root        1: /*     the key:
                      2:        LDI     defined and initialized: storage set aside
                      3:        LIB     defined on a library
                      4:        LDC     defined as a common region on UNIX
                      5:        LDX     defined by an extern: if ! pflag, same as LDI
                      6:        LRV     function returns a value
                      7:        LUV     function used in a value context
                      8:        LUE     function used in effects context
                      9:        LUM     mentioned somewhere other than at the declaration
                     10:        */
                     11: # define LDI 01
                     12: # define LIB 02
                     13: # define LDC 04
                     14: # define LDX 010
                     15: # define LRV 020
                     16: # define LUV 040
                     17: # define LUE 0100
                     18: # define LUM 0200
                     19: 
                     20: # define LFN 0400  /* filename record */
                     21: 
                     22:        /* number of chars in NAME, and filename */
                     23: #ifndef FLEXNAMES
                     24: # define LCHNM 8
                     25: # define LFNM 14
                     26: #endif
                     27: 
                     28: typedef struct ty {
                     29:        TWORD aty;
                     30:        short extra;
                     31:        } ATYPE;
                     32: 
                     33: typedef struct line {
                     34:        short decflag;
                     35: #ifndef FLEXNAMES
                     36:        char name[LCHNM];
                     37: #else
                     38:        char *name;
                     39: #endif
                     40:        short nargs;
                     41:        short fline;
                     42:        ATYPE type;
                     43:        } LINE;
                     44: 
                     45: union rec {
                     46:        struct line l;
                     47:        struct {
                     48:                short decflag;
                     49: #ifndef FLEXNAMES
                     50:                char fn[LFNM];
                     51: #else
                     52:                char *fn;
                     53: #endif
                     54:                } f;
                     55:        };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.