ack/lang/cem/lint/lpass2/inpdef.str

39 lines
953 B
Plaintext
Raw Normal View History

1988-09-02 12:00:25 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header$ */
1988-05-30 17:17:16 +00:00
#define NAMESIZE 100
#define FNAMESIZE 100
#define ARGTPSSIZE 2000
#define TYPESIZE 1000
struct inpdef {
struct inpdef *next;
1988-08-07 22:55:20 +00:00
/* filled by get_id() */
int id_class; /* see ../lpass1/l_class.h */
1988-05-30 17:17:16 +00:00
char id_name[NAMESIZE];
1988-08-07 22:55:20 +00:00
int id_statnr;
1988-05-30 17:17:16 +00:00
char id_file[FNAMESIZE];
1988-07-08 22:24:06 +00:00
int id_line;
1988-05-30 17:17:16 +00:00
char id_type[TYPESIZE];
1988-08-07 22:55:20 +00:00
int id_args; /* set if arguments given */
int id_nrargs; /* number of args, neg. for varargs */
char id_argtps[ARGTPSSIZE]; /* argument types, colon separated */
1988-09-02 12:00:25 +00:00
int id_valreturned; /* for def/decl, see ../lpass1/l_lint.h */
1988-08-07 22:55:20 +00:00
int id_valused; /* for FC, see ../lpass1/l_lint.h */
/* not filled by get_id() */
1988-05-30 17:17:16 +00:00
int id_called;
int id_used;
int id_ignored;
int id_voided;
};
1988-07-08 22:24:06 +00:00
#define is_def(id) (is_def_class(id->id_class))
1988-05-30 17:17:16 +00:00
/* ALLOCDEF "inpdef" 10 */