version 1.5, 1997/08/25 16:17:09 |
version 1.6, 1999/04/20 17:31:28 |
|
|
char *nval; /* name, for variables only */ |
char *nval; /* name, for variables only */ |
char *sval; /* string value */ |
char *sval; /* string value */ |
Awkfloat fval; /* value as number */ |
Awkfloat fval; /* value as number */ |
unsigned tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE */ |
int tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE */ |
struct Cell *cnext; /* ptr to next if chained */ |
struct Cell *cnext; /* ptr to next if chained */ |
} Cell; |
} Cell; |
|
|
|
|
struct Node *nnext; |
struct Node *nnext; |
int lineno; |
int lineno; |
int nobj; |
int nobj; |
struct Node *narg[1]; /* variable: actual size set by calling malloc */ |
struct Node *narg[1]; /* variable: actual size set by calling malloc */ |
} Node; |
} Node; |
|
|
#define NIL ((Node *) 0) |
#define NIL ((Node *) 0) |
|
|
#define NSTATES 32 |
#define NSTATES 32 |
|
|
typedef struct rrow { |
typedef struct rrow { |
int ltype; |
long ltype; /* long avoids pointer warnings on 64-bit */ |
union { |
union { |
int i; |
int i; |
Node *np; |
Node *np; |
|
|
} rrow; |
} rrow; |
|
|
typedef struct fa { |
typedef struct fa { |
|
uschar gototab[NSTATES][NCHARS]; |
|
uschar out[NSTATES]; |
char *restr; |
char *restr; |
|
int *posns[NSTATES]; |
int anchor; |
int anchor; |
int use; |
int use; |
uschar gototab[NSTATES][NCHARS]; |
|
int *posns[NSTATES]; |
|
uschar out[NSTATES]; |
|
int initstat; |
int initstat; |
int curstat; |
int curstat; |
int accept; |
int accept; |
int reset; |
int reset; |
struct rrow re[1]; |
struct rrow re[1]; /* variable: actual size set by calling malloc */ |
} fa; |
} fa; |
|
|
|
|