1984-05-19 11:42:19 +00:00
|
|
|
#ifndef NORCSID
|
1994-06-24 14:02:31 +00:00
|
|
|
static char rcsid[] = "$Id$";
|
1984-05-19 11:42:19 +00:00
|
|
|
#endif
|
|
|
|
|
1984-05-18 21:27:39 +00:00
|
|
|
#include "param.h"
|
|
|
|
#include "tables.h"
|
|
|
|
#include "types.h"
|
|
|
|
#include <cg_pattern.h>
|
|
|
|
#include "data.h"
|
|
|
|
#include "result.h"
|
|
|
|
|
|
|
|
/*
|
1987-03-10 01:26:51 +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".
|
1984-05-18 21:27:39 +00:00
|
|
|
*
|
|
|
|
* Author: Hans van Staveren
|
|
|
|
*/
|
|
|
|
|
|
|
|
int stackheight = 0;
|
|
|
|
token_t fakestack[MAXFSTACK];
|
|
|
|
int nallreg = 0;
|
|
|
|
int allreg[MAXALLREG];
|
|
|
|
token_p curtoken = (token_p) 0;
|
|
|
|
result_t dollar[LONGESTPATTERN];
|
|
|
|
int nemlines =0;
|
|
|
|
struct emline emlines[MAXEMLINES];
|
|
|
|
struct emline *emp=emlines;
|
|
|
|
struct emline *saveemp;
|
|
|
|
int tokpatlen;
|
|
|
|
rl_p curreglist;
|