date and time created 82/08/30 13:16:01 by rrh
authorRobert R. Henry <rrh@ucbvax.Berkeley.EDU>
Tue, 31 Aug 1982 04:16:01 +0000 (20:16 -0800)
committerRobert R. Henry <rrh@ucbvax.Berkeley.EDU>
Tue, 31 Aug 1982 04:16:01 +0000 (20:16 -0800)
SCCS-vsn: old/pcc/lint/lpass1/lmanifest.h 1.1

usr/src/old/pcc/lint/lpass1/lmanifest.h [new file with mode: 0644]

diff --git a/usr/src/old/pcc/lint/lpass1/lmanifest.h b/usr/src/old/pcc/lint/lpass1/lmanifest.h
new file mode 100644 (file)
index 0000000..cce8fd1
--- /dev/null
@@ -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;
+       };