ack/util/ncgg/param.h
1987-03-09 19:15:41 +00:00

43 lines
904 B
C

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header$ */
/*
* Miscellaneous sizes, tunable
*/
#define MAXREGS 40
#define MAXPROPS 30
#define MAXTOKENS 100
#define MAXATT 6
#define MAXSETS 150
#define MAXINSTR 200
#define MAXSTRINGS 250
#define MAXNODES 500
#define EMPATMAX 20
#define MAXPATTERNS 40
#define MAXALLREG 5
#define MAXINSTANCES 500
#define MAXMOVES 40
#define MAXTESTS 10
#define MAXSTACKS 30
#define MAXCOERCS 50
#define MAXSPLCOERC 20
#define MAXSPLIT 3
#define MAXPATBYTES 7000
#define MAXREGVAR 10
#define MAXSOURCELINES 6000
/* end of tunable constants */
#define TOKPATMAX 7
#define SZOFSET(n) (((n)+15)/16)
#define SETSIZE SZOFSET(MAXREGS+MAXTOKENS)
#define NEXT(n,max,string) (n<max? n++ : tabovf(string))
#define NEW(x,y) x=(y*)myalloc(sizeof(*(x)))