Pristine Ack-5.5
[Ack-5.5.git] / util / ncgg / token.h
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: token.h,v 0.3 1994/06/24 10:38:26 ceriel Exp $ */
6
7 #ifndef _COST_
8 #include "cost.h"
9 #endif
10
11
12 typedef struct token {
13         char    *tk_name;
14         int      tk_size;
15         cost_t   tk_cost;
16         struct {
17                 int ta_type;    /* -1 is int, -2 is addr, >=0 is propno */
18                 char *ta_name;
19         }        tk_att[MAXATT];
20         int      tk_format;
21 } token_t,*token_p;
22
23 extern token_p l_tokens[MAXTOKENS];