From: Robert R. Henry Date: Tue, 31 Aug 1982 04:16:01 +0000 (-0800) Subject: date and time created 82/08/30 13:16:01 by rrh X-Git-Tag: BSD-4_1c_2-Snapshot-Development~2584 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/64e148327f34d875b8d0e6a990f6bfbf8e27a9ee?hp=401189089022ccd0d0e7bdf8f529f0538302d028 date and time created 82/08/30 13:16:01 by rrh SCCS-vsn: old/pcc/lint/lpass1/lmanifest.h 1.1 --- diff --git a/usr/src/old/pcc/lint/lpass1/lmanifest.h b/usr/src/old/pcc/lint/lpass1/lmanifest.h new file mode 100644 index 0000000000..cce8fd1986 --- /dev/null +++ b/usr/src/old/pcc/lint/lpass1/lmanifest.h @@ -0,0 +1,58 @@ +/* + * @(#)lmanifest.h 1.1 (Berkeley) %G% + */ +/* the key: + LDI defined and initialized: storage set aside + LIB defined on a library + LDC defined as a common region on UNIX + LDX defined by an extern: if ! pflag, same as LDI + LRV function returns a value + LUV function used in a value context + LUE function used in effects context + LUM mentioned somewhere other than at the declaration + */ +# define LDI 01 +# define LIB 02 +# define LDC 04 +# define LDX 010 +# define LRV 020 +# define LUV 040 +# define LUE 0100 +# define LUM 0200 + +# define LFN 0400 /* filename record */ + + /* number of chars in NAME, and filename */ +#ifndef FLEXNAMES +# define LCHNM 8 +# define LFNM 14 +#endif + +typedef struct ty { + TWORD aty; + short extra; + } ATYPE; + +typedef struct line { + short decflag; +#ifndef FLEXNAMES + char name[LCHNM]; +#else + char *name; +#endif + short nargs; + short fline; + ATYPE type; + } LINE; + +union rec { + struct line l; + struct { + short decflag; +#ifndef FLEXNAMES + char fn[LFNM]; +#else + char *fn; +#endif + } f; + };