Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / lint / lpass2 / inpdef.str
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: inpdef.str,v 1.5 1994/06/24 12:25:36 ceriel Exp $ */
6
7 #define NAMESIZE 100
8 #define FNAMESIZE 100
9 #define ARGTPSSIZE 2000
10 #define TYPESIZE 1000
11
12 struct inpdef {
13         struct inpdef *next;
14
15         /* filled by get_id() */
16         int id_class;                   /* see ../lpass1/l_class.h */
17         char id_name[NAMESIZE];
18         int id_statnr;
19         char id_file[FNAMESIZE];
20         int id_line;
21         char id_type[TYPESIZE];
22
23         int id_args;                    /* set if arguments given */
24         int id_nrargs;                  /* number of args, neg. for varargs */
25         char id_argtps[ARGTPSSIZE];     /* argument types, colon separated */
26         int id_valreturned;             /* for def/decl, see ../lpass1/l_lint.h */
27         int id_valused;                 /* for FC, see ../lpass1/l_lint.h */
28
29         /* not filled by get_id() */
30         int id_called;
31         int id_used;
32         int id_ignored;
33         int id_voided;
34 };
35
36 #define is_def(id)      (is_def_class(id->id_class))
37
38 /* ALLOCDEF "inpdef" 10 */